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

Is linux written in c or c++?

1053


What is switch case in c++ syntax?

1116


What is the difference between global variables and local variable

1066


What is virtual function? Explain with an example

1102


What is anonymous object in c++?

1101


How does a copy constructor differs from an overloaded assignment operator?

1045


Should I learn c++ c?

1054


What is null pointer and void pointer and what is their use?

1102


What are the three forms of cin.get() and what are their differences?

1241


What is the error in the code below and how should it be corrected?

766


What is the difference between the functions memmove() and memcpy()?

1123


an integer constant must have atleast one a) character b) digit c) decimal point

1031


Define pointers?

1058


How a macro differs from a template?

1180


How to implement is-a and has-a class relationships?

1035