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

Explain do array subscripts always start with zero?

1239


How can I access an I o board directly?

1093


What is the symbol indicated the c-preprocessor?

1252


Describe explain how arrays can be passed to a user defined function

1105


How can I read and write comma-delimited text?

1077


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2817


What is a volatile keyword in c?

1165


How many types of functions are there in c?

1146


Is that possible to add pointers to each other?

1376


What is echo in c programming?

1029


What is the difference between array and pointer in c?

1162


Can the sizeof operator be used to tell the size of an array passed to a function?

1118


what is the height of tree if leaf node is at level 3. please explain

2153


write a c program to find the sum of five entered numbers using an array named number

2144


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

4214