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


Please Help Members By Posting Answers For Below Questions

What is New modifiers?

674


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

615


what are the facialities provided by you after the selection of the student.

1664


What is #include conio h?

598


Is c still relevant?

646






In which language linux is written?

607


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

3846


How is pointer initialized in c?

589


Is null equal to 0 in sql?

657


How many types of sorting are there in c?

618


What does. int *x[](); means ?

640


Explain do array subscripts always start with zero?

763


What does %c do in c?

589


Difference between exit() and _exit() function?

659


what does static variable mean?

657