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
Is linux written in c or c++?
What is switch case in c++ syntax?
What is the difference between global variables and local variable
What is virtual function? Explain with an example
What is anonymous object in c++?
How does a copy constructor differs from an overloaded assignment operator?
Should I learn c++ c?
What is null pointer and void pointer and what is their use?
What are the three forms of cin.get() and what are their differences?
What is the error in the code below and how should it be corrected?
What is the difference between the functions memmove() and memcpy()?
an integer constant must have atleast one a) character b) digit c) decimal point
Define pointers?
How a macro differs from a template?
How to implement is-a and has-a class relationships?