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...

# 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",i);
}
printf (“\n”);
}
getch();
}

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

Related

C Programs 853127891628799667

Post a Comment

emo-but-icon

item