program to print this triangle
*
* *
* * *
Answer Posted / jayasreesampath
#include<stdio.h>
main()
{
int i,j;
for(i=1;i<=3;i++)
{
for(j=1;j<=3;j++)
printf("\n",i,j);
}
}
| Is This Answer Correct ? | 23 Yes | 91 No |
Post New Answer View All Answers
What is stoi in c++?
What are exceptions c++?
How a macro differs from a template?
Please explain class & object in c++?
Describe friend function & its advantages.
Can you write a function similar to printf()?
Can non-public members of another instance of the class be retrieved by the method of the same class?
What is late binding c++?
How compile and run c++ program in turbo c++?
What do manipulators do?
Does c++ cost money?
Is it possible to provide default values while overloading a binary operator?
What is name hiding in c++?
What is the difference between a pointer and a link in c ++?
Explain object slicing in c++?