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 ? | 6 Yes | 8 No |
Post New Answer View All Answers
How can I read/write structures from/to data files?
Can true be a variable name in c?
Explain what is a static function?
What is the difference between typedef and #define?
What is pivot in c?
What does == mean in texting?
Do you have any idea how to compare array with pointer in c?
What do you mean by c what are the main characteristics of c language?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Can you define which header file to include at compile time?
How can I implement sets or arrays of bits?
how can f be used for both float and double arguments in printf? Are not they different types?
What is the most efficient way to store flag values?
Can include files be nested? How many levels deep can include files be nested?