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

Answers were Sorted based on User's Feedback



print the following using loop. 54321 4321 321 21 1..

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

print the following using loop. 54321 4321 321 21 1..

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

More JavaScript Interview Questions

Are there any training Institutions on iphone Automation testing?

0 Answers  


What is a method in javascript?

0 Answers  


What are the predefined functions in javascript?

0 Answers  


How to get an element by class in javascript ?

0 Answers  


How to create a cookie using javascript?

0 Answers  


Can I open javascript on iphone?

0 Answers  


How do I disable javascript in my browser?

0 Answers  


How do I retrieve a cookie with a given name using a regular expression?

0 Answers  


Where can I learn javascript for beginners?

0 Answers  


how can we use java script message alert with asp.net with useing vb.net coding show full process with its coading

1 Answers   NIC,


What is the relationship between JavaScript and ECMAScript?

4 Answers   NIM, Satyam,


What is the use of decodeuri() and encodeuri()?

0 Answers  


Categories