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
Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.
Which sort does c++ use?
Where is atoi defined?
Which software is best for c++ programming?
What are manipulators used for?
When can I use a forward declaration?
Differences between private, protected and public and give examples.
Differentiate between an external iterator and an internal iterator?
What are features of c++?
which operator is used for performing an exponential operation a) > b) ^ c) none
How can you differentiate between inheritance and implementation in c++?
What is the history of c++?
What is the use of string in c++?
Differentiate between a template class and class template in c++?
What is the use of dot in c++?