how can i get the output
54321
4321
321
21
1
in c programming........???? pls help......
Answer Posted / code0090
for more go to
http://answerwale.co.cc/?p=22#comment-18
#include<stdio.h>
#include<conio.h>
int main()
{
int a=5;
int b=9;
while(a!=0){
for(int i=a;i>0;i--)
{
printf("%d",i);
}
printf("\n");
a--;
}
getch();
return 0;
}
| Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
How do we print only part of a string in c?
What is static identifier?
how can I convert a string to a number?
What are the two forms of #include directive?
What is console in c language?
Are enumerations really portable?
Write a program to generate the Fibinocci Series
what do you mean by enumeration constant?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
Explain setjmp()?
Can a pointer be volatile in c?
What is the meaning of && in c?
How can I call fortran?
What is the process of writing the null pointer?
What is bash c?