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
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
What are namespaces in c++?
What is DlgProc?
What is an adaptor class or wrapper class in c++?
What size is allocated to the union variable?
What is private, public and protected inheritance?
How many types of classes are there in c++?
What is the use of this pointer in c++?
How can I disable the "echo" feature?
Difference between declaration and definition of a variable.
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
What do you mean by global variables?
What is iterator c++?
What is the difference between the parameter to a template and the parameter to a function?
Why do we use the using declaration?