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 ? | 5 Yes | 8 No |
Post New Answer View All Answers
what is the structure pointer?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
What is character set?
What are header files in c programming?
Can you subtract pointers from each other? Why would you?
which type of aspect you want from the student.
Create a simple code fragment that will swap the values of two variables num1 and num2.
What does %c do in c?
List some basic data types in c?
What is array in c with example?
What is the difference between far and near in c?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
What is static memory allocation? Explain
How can I implement sets or arrays of bits?
Explain the difference between ++u and u++?