In this program, we are going to make pattern in c programming using loops. It gives us…
Pattern-Programs
5 Articles
In this post, we are going to make a c program to print the “X” number pattern…
In this program, we will make a C program to print diamond patterns of numbers & a…
W Pattern in C++ by Siddharth Jha #include<stdio.h>#include<conio.h>void main(){clrscr();int i,j;char ch=‘A’;for(i=1;i<=7;i++){for(j=1;j<=13;j++){if(i>=2){if((j>=7-(i-2))&&(j<=7+(i-2))){cout<<“ ”;}else{if(j<=7){cout<<ch;ch=ch+1;}else{ch=‘G’;ch=ch-(j-7);cout<<ch;}}}else{if(j<=7){cout<<ch;ch=ch+1;}else{ch=‘G’;if(j<=7){cout<<ch;ch=ch+1;}else{ch=‘G’;ch=ch-(j-7);cout<<ch;}}}ch=‘A’;cout<<“n”;}getch();} If You like this Program…
Program to print star patterns in c++ language. In this program, we are going to print the…