how can i get the output
54321
4321
321
21
1
in c programming........???? pls help......
Answer Posted / jayaraj.s
#include<stdio.h>
main()
{
int a,b;
for(a=5;a!=0;a--)
{
for(b=a;b!=0;b--)
{
printf("%d",b);
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 87 Yes | 16 No |
Post New Answer View All Answers
Can we use visual studio for c?
Why #include is used in c language?
Write a program to find the biggest number of three numbers in c?
Can a variable be both static and volatile in c?
What is the meaning of c in c language?
Is c procedural or object oriented?
What is string length in c?
Explain do array subscripts always start with zero?
What is bash c?
How can I read in an object file and jump to locations in it?
What is wrong in this statement?
What is meant by realloc()?
How can I make sure that my program is the only one accessing a file?
Why are algorithms important in c program?
Why do we use pointer to pointer in c?