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 Memory Allocation in C/C++ ?

1057


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

1059


What is a stack c++?

1000


What is the advantage of c++ over c?

1005


Define pre-condition and post-condition to a member function in c++?

1129


What is a singleton class c++?

1009


Is there finally in c++?

1088


What is pointer to member?

1070


What is the use of pointer in c++ with example?

1024


What are the two main components of c++?

1095


We use library functions in the program, in what form they are provided to the program?

1077


Name the operators that cannot be overloaded in C++?

1035


Write about the scope resolution operator?

1017


Explain bubble sorting.

1065


Explain polymorphism?

1066