1 21 321 4321 54321
#include <stdio.h>
int main()
{
int i, j;
for(i=1;i<=5;i++)
{
for(j=i;j>=1;j--)
{
printf("%d",j);
}
printf("\n");
}
return 0;
}
Related Links:
- More Number Pattern Programs
- Star Pattern Programs in C
- Alphabet Pattern Programs in C
- Series Programs in C
What will be the code for the pattern given below?
ReplyDelete1 2 3 4 5
2 1 2 3 4
3 2 1 2 3
4 3 2 1 2
5 4 3 2 1
http://cbasicprogram.blogspot.in/2013/01/number-pattern-51.html
DeleteAlternate Code for the same pogram?
ReplyDeleteThis problem solution in while loop
ReplyDeletePlz give the above progarm solution by using while loop
ReplyDelete@
ReplyDelete@ #
@ # $
Plz program solutions
https://maytinhtrananh.vn/sua-may-tinh-may-in.html
ReplyDeletehttps://phalebinhminh.com