triangle number finding program...
Answer / 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 |
If I have a char * variable pointing to the name of a function ..
Design a program using an array that lists even numbers and odd numbers separately from the 12 numbers supplied by a user.
What are the 4 types of unions?
What is meant by recursion?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
What are dangling pointers?
what is the similarities between. system call and library function?
1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree.
In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a
Write a program to check prime number in c programming?
Diff between for loop and while loop?
what is the use of #pragma pack, wer it is used?