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 the difference between equal to (==) and assignment operator (=)?
What is the difference between a definition and a declaration?
What is polymorphism in c++? Explain with an example?
What does count ++ do in c++?
Does c++ have string data type?
Is c++ a difficult language?
If dog is a friend of boy, is boy a friend of dog?
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
How long will it take to learn programming?
Does a derived class inherit or doesn't inherit?
Explain function overloading and operator overloading.
Differentiate between structure and class in c++.
Is string an object in c++?
In what situations do you have to use initialization list rather than assignment in constructors?
what are the events occur in intr activated on interrupt vector table