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

triangle number finding program...

Answer Posted / sevak.yatrik777

#include<stdio.h>

#include<conio.h>

main()

{

int n,i,j;

clrscr();

printf("enter the number");

scanf("%d",&n);

for(i=1;i<=n;i++)

{

for(j=1;j<=i;j++)

printf("%d",j);

printf("\n");

}

getch();

}

Read more:
http://wiki.answers.com/Q/C_program_to_generate_parkside%27s_triangle_numbers#ixzz1M2ugMMU6

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c value paradox explain?

1087


What are structural members?

1006


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1316


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

1251


How can you tell whether a program was compiled using c versus c++?

1102


What is double pointer in c?

1038


What are the 4 types of programming language?

1123


Describe the order of precedence with regards to operators in C.

1047


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

2119


How macro execution is faster than function ?

1183


how is the examination pattern?

2017


Explain heap and queue.

1078


What is meant by inheritance?

1086


List the different types of c tokens?

1072


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2329