Number Pattern 60 – Rhombus pattern in C programming

Number Pattern 60-Rhombus pattern in C programming In this program, we will see the Rhombus pattern numbers in C programming language. Please look into the program. 1 2 2 3 3 4 4 3 3 2 2 1 The C program for Pyramid pattern is as follows: #include <stdio.h> int main() { int a,b,c; for(a=1;a<=4;a++) … Read more

Number Pattern 57 – Rectangle pattern in C programming

< Number Pattern 57-Rectangle pattern in C programming In this program, we will see the Rectangle pattern numbers in C programming language. Please look into the program. 11111 10001 10001 10001 11111 The C program for Pyramid pattern is as follows: #include<stdio.h> int main() { int a,b; for(a=1;a<=5;a++) { for(b=1;b<=5;b++) { if(b==5 || b==1 || ... Read more

Number Pattern 56 – Rectangle pattern in C programming

Number Pattern 56-Rectangle pattern in C programming In this program, we will see the Rectangle pattern numbers in C programming language. Please look into the program. *000*000* 0*00*00*0 00*0*0*00 000***000 The C program for Pyramid pattern is as follows: #include <stdio.h> int main() { int a,b,c; for(a=1;a<=4;a++) { for(b=1;b<=9;b++) { if(b==a || b==5 || 10-b==a) … Read more

Number Pattern 54 – Rectangle pattern in C programming

Number Pattern 54-Rectangle pattern in C programming In this program, we will see the Rectangle pattern numbers in C programming language. Please look into the program. 11111 1 1 1 1 1 1 11111 The C program for Pyramid pattern is as follows: #include<stdio.h> int main() { int a,b; for(a=1;a<=5;a++) { for(b=1;b<=5;b++) { if(b==5 || … Read more

Number Pattern 53 – Rectangle pattern in C programming

Number Pattern 53-Rectangle pattern in C programming In this program, we will see the Rectangle pattern numbers in C programming language. Please look into the program. 5432* 543*1 54*21 5*321 *4321 The C program for Pyramid pattern is as follows: #include<stdio.h> int main() { int a, b, no_rows; printf(“Enter number of rows – “); scanf(“%d”,&no_rows); … Read more