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 |
How do you determine whether to use a stream function or a low-level function?
wtite a program that will multiply two integers in recursion function
What is a function in c?
#include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i<size;i++) sum+=array[i]; return sum; } output?
Wt are the Buses in C Language
Is c still used?
how to write a prog in c to convert decimal number into binary by using recursen function,
Is anything faster than c?
What are the different data types in C?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What is null in c?