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 51 – Rectangle pattern in C programming

Number Pattern 51-Rectangle pattern in C programming In this program, we will see the Rectangle pattern numbers in C programming language. Please look into the program. 12344321 123**321 12****21 1******1 The C program for Rectangle pattern is as follows: #include<stdio.h> int main() { int a,b; for(a=4;a>=1;a–) { for(b=1;b<=4;b++) { if(b<=a) printf(“%d”,b); else printf(” “); } … Read more

Number Pattern 50 – Rectangle pattern in C programming

Number Pattern 50-Rectangle pattern in C programming In this program, we will see the Rectangle pattern numbers in C programming language. Please look into the program. 55555 45555 34555 23455 12345 The C program for Rectangle pattern is as follows: #include <stdio.h> int main() { int a, b, k; for(a=5;a>=1;a–) { k = a; for(b=1;b<=5;b++) … Read more