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

How can you create an Object in JavaScript?

1218


How to call a function inside a function in javascript?

976


How to write a function in javascript?

963


What is unshift method in JavaScript?

1062


How can I learn coding fast?

1040


How to convert json object to string?

1104


What is use of settimeout function in javascript?

1186


Write a Program using Servlet and JDBC for developing online application for displaying the details of Cars owned by the residents in XYZ society. Make necessary assumptions and create appropriate databases

2338


How to show progress bar while loading using ajax call?

1079


Is javascript a security risk?

1036


What does polyfill mean?

936


Explain the difference between call() and apply()?

1099


Why is object naming important to use in javascript?

992


How can javascript be used to improve the "look and feel" of a web site? By the same token, how can javascript be used to improve the user interface?

965


What are different types of popup boxes available in javascript?

1007