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
What does p mean in physics?
Can you subtract pointers from each other? Why would you?
How can a string be converted to a number?
Can math operations be performed on a void pointer?
What is the use of a static variable in c?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What are the similarities between c and c++?
What do you understand by friend-functions? How are they used?
Explain void pointer?
What is wild pointer in c with example?
What is operator precedence?
how do you programme Carrier Sense Multiple Access
What is a stream in c programming?
Are pointers integers in c?
Add Two Numbers Without Using the Addition Operator