Answer Posted / vignesh1988i
#include<stdio.h>
#include<conio.h>
void main()
{
int n;
printf("enter the terms :");
scanf("%d",&n);
count=1;
for(int i=1;i<=n;i++)
{
for(int j=1;j<=(i);j++)
printf("%d ",count++);
printf("\n");
}
getch();
}
thank u
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the use of f in c?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Explain that why C is procedural?
explain what is an endless loop?
What are formal parameters?
Why is c called c?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What is the use of ?
Explain what are the __date__ and __time__ preprocessor commands?
What are header files and explain what are its uses in c programming?
What is the stack in c?
What is the significance of an algorithm to C programming?
will u please send me the placement papers to my mail???????????????????
What are the features of c languages?
How can you allocate arrays or structures bigger than 64K?