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
Explain Memory Allocation in C/C++ ?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
What is a stack c++?
What is the advantage of c++ over c?
Define pre-condition and post-condition to a member function in c++?
What is a singleton class c++?
Is there finally in c++?
What is pointer to member?
What is the use of pointer in c++ with example?
What are the two main components of c++?
We use library functions in the program, in what form they are provided to the program?
Name the operators that cannot be overloaded in C++?
Write about the scope resolution operator?
Explain bubble sorting.
Explain polymorphism?