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

Can anyone help me with this please? Need to print the below
values.. Thanks

1
1 2
1 2 3
1 2 3 4

Answer Posted / hari

#include<stdio.h>
main()
{
int i,j= 0;
for(j= 1;j<=5 ;j++)
{
for(i=1;i<=j;i++)
printf("%d ",i);
printf("\n");
}
}

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where are the auto variables stored?

1108


What is the general form of a C program?

991


how to count no of words,characters,lines in a paragraph.

4399


What are disadvantages of C language.

1129


Do you know the difference between malloc() and calloc() function?

1026


What are the uses of null pointers?

1059


Hi can anyone tell what is a start up code?

2032


What are the keywords in c?

1097


Is flag a keyword in c?

1124


Explain how can you be sure that a program follows the ansi c standard?

1426


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

970


Why #include is used in c language?

1015


write a program to concatenation the string using switch case?

2053


What is character constants?

1147


What are the advantages of c language?

1066