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 is the difference between ++a and a++?
plz let me know how to become a telecom protocol tester. thank you.
What do mean by network ?
What is the use of bit field?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
What are the 4 types of functions?
Difference between exit() and _exit() function?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
What does %d do?
What does node * mean?
Write a program with dynamically allocation of variable.
can we implement multi-threads in c.
Write a program to check armstrong number in c?
Difference between pass by reference and pass by value?