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

List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2796


Explain what are the different data types in c?

1266


What is s or c?

1121


What is maximum size of array in c?

1086


What are bitwise shift operators in c programming?

1135


What are the salient features of c languages?

1139


Explain the difference between getch() and getche() in c?

1051


What is nested structure in c?

1117


Explain the properties of union.

1135


what are bit fields? What is the use of bit fields in a structure declaration?

2202


What are the different file extensions involved when programming in C?

1342


What is #pragma statements?

1159


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1141


I have a varargs function which accepts a float parameter?

1099


How does free() know explain how much memory to release?

1111