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
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Explain what are the different data types in c?
What is s or c?
What is maximum size of array in c?
What are bitwise shift operators in c programming?
What are the salient features of c languages?
Explain the difference between getch() and getche() in c?
What is nested structure in c?
Explain the properties of union.
what are bit fields? What is the use of bit fields in a structure declaration?
What are the different file extensions involved when programming in C?
What is #pragma statements?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
I have a varargs function which accepts a float parameter?
How does free() know explain how much memory to release?