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

What does p mean in physics?

1047


Can you subtract pointers from each other? Why would you?

963


How can a string be converted to a number?

1023


Can math operations be performed on a void pointer?

1055


What is the use of a static variable in c?

1062


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1207


What are the similarities between c and c++?

1079


What do you understand by friend-functions? How are they used?

1212


Explain void pointer?

1052


What is wild pointer in c with example?

1065


What is operator precedence?

1216


how do you programme Carrier Sense Multiple Access

1969


What is a stream in c programming?

1157


Are pointers integers in c?

1079


Add Two Numbers Without Using the Addition Operator

829