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...

write the code that display the format just like
1
2 1
3 2 1
4 3 2 1
5 4 3 2 1
6 5 4 3 2 1

Answer Posted / kamal

int main()
{
cout<<"1\n2 1\n3 2 1\n4 3 2 1\n5 4 3 2 1\n6 5 4 3 2 1";
return 0;
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of typedef in a program?

1137


What does ctime() do?

1214


Comment on assignment operator in c++.

1171


Is c++ a good first language to learn?

1122


Explain the isa and hasa class relationships. How would you implement each?

1186


What are the advantages of using const reference arguments in a function?

1122


How does code-bloating occur in c++?

1242


Define stacks. Provide an example where they are useful.

1079


Describe Trees using C++ with an example.

1215


Can I learn c++ without learning c?

1074


Differentiate between late binding and early binding.

1342


Which bit wise operator is suitable for checking whether a particular bit is on or off?

1087


What is the latest version on c++?

1186


How do I run c++?

1124


Can we run c program in turbo c++?

1133