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

Explain the concept of friend function in c++?

1115


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

1007


How many characters are recognized by ANSI C++?

1424


Can class objects be passed as function arguments?

1066


what are the decision making statements in C++? Explain if statement with an example?

1098


Is c++ map a hash table?

1028


When do we run a shell in the unix system? How will you tell which shell you are running?

984


Explain how functions are classified in C++ ?

1233


What is the difference between the parameter to a template and the parameter to a function?

1121


What is the best c++ compiler for windows 10?

1041


Can I learn c++ in a week?

1074


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

3649


Explain the difference between c++ and java.

1114


Can we use struct in c++?

1026


How are Structure passing and returning implemented by the compiler?

1139