program to print this triangle
*
* *
* * *
Answer Posted / rajesh
#include<stdio.h>
main()
{
int i,j;
for(i=1;i<=3;i++)
{
for(j=1;j<=i;j++)
printf(""+"*",i,j);
}
}
| Is This Answer Correct ? | 8 Yes | 58 No |
Post New Answer View All Answers
Should a constructor be public or private?
What is the history of c++?
Is c better than c++?
How to declare a function pointer?
What are the restrictions apply to constructors and destructors?
How can you link a c program with a c function?
Evaulate: 22%5 a) 2 b) 4 c) 0
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
How to declare a pointer to an array of integers? What is a rooted hierarchy? Mention the purpose of istream class? What are formatting flags in ios class? What is constructor and destructor in c++? What are the advantages of c++ over c? Explain about Garbage Collector?