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 / manikandan

int n=5;
for(int i=1;i<=n;i++)
{
for(int j=1;j<=n;j++)
{
cout<<i;
}
cout<<j;
}

Is This Answer Correct ?    8 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a method in javascript?

999


What is the disadvantage of using innerhtml in javascript?

1164


What are the basic groups of dataypes in JavaScript?

976


What are the distinct types of error name values?

975


To write messages to the screen without using "document.write()"?

858


What is null in js?

980


What is the difference between ‘var’ and ‘let’ keyword?

910


Which built-in method returns the string representation of the number’s value?

1144


Explain the unshift() method ?

963


How can you create an Object in JavaScript?

1138


How to get value from radiobuttonlist control?

1009


What is a currying function?

916


What are screen objects?

924


What will be the output of the following statements?

948


How to add a new property in existing function javascript?

968