Answer Posted / sarvesh
#include<stdio.h>
#include<conio.h>
main()
{
int i,n,j;
int m=1;
clrscr();
printf("enter number");
scanf("%d",&n);
for(i=0;i<n;i++)
{
for(j=0;j<=i;j++)
{
printf("%d",m++);
}
printf("\n");
}getch();
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
write a program to find out prime number using sieve case?
What is actual argument?
Is a house a shell structure?
What are different types of pointers?
What is a structure and why it is used?
What is the process of writing the null pointer?
Which header file is essential for using strcmp function?
What is the -> in c?
What is the difference between constant pointer and constant variable?
What is integer constants?
What are the modifiers available in c programming language?
What is the difference between fread and fwrite function?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is meant by high-order and low-order bytes?
Write a program to swap two numbers without using a temporary variable?