Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


program to print this triangle
*
* *
* * *

Answers were Sorted based on User's Feedback



program to print this triangle * * * * * *..

Answer / 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

program to print this triangle * * * * * *..

Answer / 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

More C++ General Interview Questions

How is data hiding achieved in c++?

0 Answers  


What is double in c++?

0 Answers  


What is the difference between the functions rand(), random(), srand() and randomize()?

0 Answers  


What is the best c++ book?

0 Answers  


Please post the model question paper of hal?

2 Answers  


What is the difference between global variables and local variable

0 Answers  


What is the average salary of a c++ programmer?

0 Answers  


Why is c++ considered difficult?

0 Answers  


What are the two types of comments, and how do they differ?

0 Answers  


Can the creation of operator** is allowed to perform the to-the-power-of operations?

0 Answers  


Why do we use iterators?

0 Answers  


What is a buffer c++?

0 Answers  


Categories