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

Process by which one bit pattern in to another by bit wise operation is?

1140


What do you mean by command line argument?

1154


Write a Program to find whether the given number or string is palindrome.

1265


Explain the difference between ++u and u++?

1114


Which is better pointer or array?

1009


What is the c language function prototype?

1070


Is c# a good language?

995


How can I get the current date or time of day in a c program?

1207


Why main is used in c?

1057


What are the uses of null pointers?

1085


Is c call by value?

1000


If you know then define #pragma?

1090


What is the benefit of using #define to declare a constant?

1076


What are the different types of data structures in c?

1147


difference between object file and executable file

6695