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
Process by which one bit pattern in to another by bit wise operation is?
What do you mean by command line argument?
Write a Program to find whether the given number or string is palindrome.
Explain the difference between ++u and u++?
Which is better pointer or array?
What is the c language function prototype?
Is c# a good language?
How can I get the current date or time of day in a c program?
Why main is used in c?
What are the uses of null pointers?
Is c call by value?
If you know then define #pragma?
What is the benefit of using #define to declare a constant?
What are the different types of data structures in c?
difference between object file and executable file