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
What is c value paradox explain?
What are structural members?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
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
How can you tell whether a program was compiled using c versus c++?
What is double pointer in c?
What are the 4 types of programming language?
Describe the order of precedence with regards to operators in C.
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?
How macro execution is faster than function ?
how is the examination pattern?
Explain heap and queue.
What is meant by inheritance?
List the different types of c tokens?
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)