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
*
* *
* * *

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


Please Help Members By Posting Answers For Below Questions

What are the advantages of c++ over c?

1015


What is void pointer in c++ with example?

1025


What are features of c++?

1107


What is singleton class in c++?

988


What is a map in c++?

1103


Is c++ slower than c?

989


What is c++ code?

1074


What is switch case in c++ syntax?

1053


What is vectorial capacity?

1119


What is function overloading in C++?

1350


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

1039


Why can templates only be implemented in the header file?

1061


How do I make turbo c++ full screen?

1029


What is the exit function in c++?

947


What is the difference between a template and a macro?

1000