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


Please Help Members By Posting Answers For Below Questions

What is the difference between new() and malloc()?

619


Is map ordered c++?

596


Is c++ proprietary?

582


How did c++ start?

616


Write a program in C++ for Fibonacci series

664






Is overriding possible in c++?

578


Differentiate between structure and class in c++.

604


Differences between private, protected and public and give examples.

580


What is virtual methods?

662


Do you know what are static and dynamic type checking?

624


How do I start a c++ project?

590


What is split a string in c++?

694


Explain the difference between abstract class and interface in c++?

533


Explain the difference between new() and malloc() in c++?

625


What are the various arithmetic operators in c++?

576