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
What are the uses of typedef in a program?
What does ctime() do?
Comment on assignment operator in c++.
Is c++ a good first language to learn?
Explain the isa and hasa class relationships. How would you implement each?
What are the advantages of using const reference arguments in a function?
How does code-bloating occur in c++?
Define stacks. Provide an example where they are useful.
Describe Trees using C++ with an example.
Can I learn c++ without learning c?
Differentiate between late binding and early binding.
Which bit wise operator is suitable for checking whether a particular bit is on or off?
What is the latest version on c++?
How do I run c++?
Can we run c program in turbo c++?