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

Describe negative infinity in javascript?

940


What does a typeof operator do?

955


Difference json arrary vs json object ?

894


Which software is best for javascript?

928


How do functions work in javascript?

897


Iam getting xml when we click on one button.Iam placing that xml in dom.Im getting that xml data in one xsl.In that xsl I want to increase the variable value which is declared in xsl. Ex: ffftt eeeeiii uuuuwww fff eeee uuuu

2060


Why do we need javascript?

898


Name some of the JavaScript features?

1028


Is jquery easier than javascript?

839


Entire content of a JavaScript source file in a function block?

1001


Which company developed JavaScript?

977


Write the point of difference between web-garden and a web-farm?

899


What is an object in javascript, give an example?

944


What are anonymous functions in Javascript?

971


Which built-in method calls a function for each element in the array?

1002