Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we print only part of a string in c?

1035


What is static identifier?

1233


how can I convert a string to a number?

1096


What are the two forms of #include directive?

1180


What is console in c language?

1109


Are enumerations really portable?

1037


Write a program to generate the Fibinocci Series

1252


what do you mean by enumeration constant?

1025


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1111


Explain setjmp()?

1081


Can a pointer be volatile in c?

1003


What is the meaning of && in c?

1032


How can I call fortran?

1056


What is the process of writing the null pointer?

1041


What is bash c?

1020