write a program for printing the following number format

# include<stdio.h>
#include<conio.h>
void main ( )
{
int i, j;
for ( i = 1; i < = 4 ; i ++)
{
for ( j =1; j < = i; j ++)
{
 printf("%d\t",j);
}
printf (“\n”);
}
getch();
}

Out Put:
1
1 2
1 2 3
1 2 3 4

Related

C Programs 6573020934755626156

Post a Comment

emo-but-icon

item