how can i get the output
54321
4321
321
21
1
in c programming........???? pls help......
Answer Posted / nagulmeera
#include<stdio.h>
#include<conio.h>
main()
{
for(int i=5;i<0;i--)
{
for(j=i;j!=0;j--)
{
printf("%d",j);
}
printf("\n");
}
getch();
}
Is This Answer Correct ? | 4 Yes | 8 No |
Post New Answer View All Answers
How many header files are in c?
What are categories used for in c?
What are called c variables?
Why is structure important for a child?
Why & is used in c?
How will you find a duplicate number in a array without negating the nos ?
What is a protocol in c?
List the difference between a While & Do While loops?
Explain how do you determine the length of a string value that was stored in a variable?
What is data types?
Explain high-order and low-order bytes.
Why c is called a mid level programming language?
Write a program to find the biggest number of three numbers in c?
What is difference between scanf and gets?
What is this infamous null pointer, anyway?