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 |
write a c programme for add of two numbers with out use of arthematic operators
What is a segmentation fault?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
void main() { char c; while(c=getchar()!='\n') printf("%d",c); } o/p=11 why?
Explain argument and its types.
What is New modifiers?
Explain how do you convert strings to numbers in c?
What is dynamic memory allocation?
In C, What is the #line used for?
Explain how do you view the path?
write a code for large nos multilication (upto 200 digits)
What are the standard predefined macros?