Hi User 10409403, try this code buddy
int count=1; for(int i=1;i<=maxSize;i++)
{
for(j=1;j<=i;j++)
{
printf("%d\t",count++);
}
printf("\n");
}
As I donot have c compiler with me, I could not able to test but according to my logic that would work perfectly. Please try and let us know if that works or not.
Thanks
Ganesh