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

Which type of variable among global and local, takes precedence over other if names are same?

1051


What are anonymous functions in Javascript?

1072


What does question mark mean in react?

921


Are all javascript variables global?

1012


Is array an object javascript?

1000


how to validate the date(dd/mm/yyyy)using regular expression in javascript? It should also satisfy the leap year feb 29 problem. Please help me.

6402


Explain higher-order functions in javascript?

966


What does the delete operator do?

995


Why it is not advised to use innerhtml in javascript?

976


What is slug in javascript?

1114


Explain with an example the use of event handlers in javascript.

1075


What does trim stand for?

1058


Create an array in javascript with a list of 4 colors, assign that array to the variable, ‘colors’.

967


What is the difference between undeclared & undefined?

980


What are the methods involved in javascript?

1078