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...

print the following using loop.
54321
4321
321
21
1

Answer Posted / rabin111

int i,j;
for(i=5;i>=1;i--)
{
for(j=i;j>=1;j--)
{
cout<<j;
}
cout<<"
"
}

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is event in web programming?

928


What makes a relation a function?

1063


List few advantages of using javascript?

866


What is primitive data type in javascript?

933


What is the most popular javascript library?

925


What is the difference between the keywords var and let?

991


What does clean white space mean?

851


Is python better than javascript?

875


What is built in function in javascript?

1031


Can you explain how inheritance works in javascript?

937


How to show progress bar while loading using ajax call?

1038


What is dom in javascript?

1005


How to redirect a url using JavaScript?

1121


What is an ECMAScript?

1121


What is javascript hoisting?

955