Skip to content

Pro Programming

Professional way of Programming

  • Home
  • C MCQs
  • C/C++
  • Java
  • Python
  • MySQL
  • Online Compiler
  • Topics
    • Arrays
    • Strings
    • Link Lists
    • Trees
    • Shapes
    • Articles
    • Games
    • Projects

Hollow diamond using for loop c++ code

Program to Draw Hollow diamond Shape in C++

Wap in C++ to Draw hollow Diamond shape in C++   For other triangle and diamonds shapes see –> Patterns and Shapes in C++  PROGRAM: #include<iostream> using namespace std; int main() { int size; cout<<"Enter size of Diamond: "; cin>>size; int z=1; for ( int i=0; i<=size; i++) { for (int j=size; j>i; j–) { cout<<" … Read more

Categories c programming, cpp codes, Hollow diamond using for loop c++ code Leave a comment
  • Email
  • Facebook
  • Twitter

Recent Posts

  • C/C++ Compiler for Android OS.
  • Simplest way to Rebuild GTID based replication using Mysqldump
  • MySQL skip slave error in GTID based Replication
  • RSA algorithm in C easy implementation
  • Download Turbo C++ for Windows 11, 10, 7, 8
  • N Queens problem implementation in Python
  • Upgrade MySQL 5.7 to 8 via Shell script
  • Monitor MySQL Error logs from AWS Cloudwatch
  • Python program to monitor disk usage in EC2
  • Simple MySQL Shell script for backup using Mysqldump
© 2023 Pro Programming • Built with GeneratePress