how can i get the output
54321
4321
321
21
1
in c programming........???? pls help......
Answer Posted / jayaraj.s
#include<stdio.h>
main()
{
int a,b;
for(a=5;a!=0;a--)
{
for(b=a;b!=0;b--)
{
printf("%d",b);
}
printf("\n");
}
getch();
}
Is This Answer Correct ? | 86 Yes | 16 No |
Post New Answer View All Answers
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is main function in c?
What is difference between constant pointer and constant variable?
what are the different storage classes in c?
How can I manipulate individual bits?
Why is c fast?
What are loops c?
What is the scope of static variables in c language?
Explain what does the function toupper() do?
What is keyword in c?
Explain what is a const pointer?
Subtract Two Number Without Using Subtraction Operator
how to write optimum code to divide a 50 digit number with a 25 digit number??
what is the function of pragma directive in c?
write a program to find out prime number using sieve case?