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 is the best free c++ compiler for windows?

1157


Why Pointers are not used in C++?

1127


What are the uses of c++ in the real world?

1094


How does code-bloating occur in c++?

1242


What is a buffer c++?

1108


How to declare a pointer to an array of integers?

1190


What is c++ map?

1252


Write a program to interchange 2 variables without using the third one.

1108


Comment on assignment operator in c++.

1171


What is atoi?

1024


Why should we use null or zero in a program?

1101


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

1163


Can static member variables be private?

1245


Explain explicit container.

1146


What is the difference between a declaration and a definition?

1172