Problem Statement : Program to print 1-10 Numbers in Pyramid fashion

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
int count=1;
for(i=0;i<=4;i++)
{
printf("\n");
for(j=0;j<i;j++)
{
printf("%d\t",count);
count++;
}
}
getch();
}Output :
1 2 3 4 5 6 7 8 9 10

