5 54 543 5432 54321
#include <stdio.h>
int main()
{
int i, j;
for(i=5;i>=1;i--)
{
for(j=5;j>=i;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
ca u explain please
ReplyDelete#include
ReplyDeleteint main()
{
int r,i,j;
printf("Enter the number of rows : ");
scanf("%d",&r);
for(i=r;i>=1;i--)
{
for(j=r;j>=i;j--)
{
printf("%d",j);
}
printf("\n");
}
return 0;
}
#include
ReplyDeleteint main()
{
int i, j, k=5;
for(i=1;i<=5;i++)
{
int u=5;
for(j=k;j<=u;j++)
{
printf("%d\t",j);
}
k--;
//i--;
printf("\n");
}
}
How do you do this code?
ReplyDelete54321
5432
543
54
5
neutimonhe Cedric Quinn download
ReplyDeletelink
download
click here
foundcalquitab
naeglutla_gi Frankie Taveras There
ReplyDeleteawesome
click here
spagittona