write a program in C for this output --
1
22
333
4444
Answers
Answered by
0
Hi friend
--------------
Your answer
--------------------
★ C PROGRAMMING
-----------------------------------
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
clrscr();
for(i=0;i<4;i++)
{
for(j=0;j<i;j++)
{
printf("%d",i);
}
printf("\n");
}
getch();
}
HOPE IT HELPS
#ARCHITECTSETHROLLINS
✯ BRAINLY STAR ✯
--------------
Your answer
--------------------
★ C PROGRAMMING
-----------------------------------
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
clrscr();
for(i=0;i<4;i++)
{
for(j=0;j<i;j++)
{
printf("%d",i);
}
printf("\n");
}
getch();
}
HOPE IT HELPS
#ARCHITECTSETHROLLINS
✯ BRAINLY STAR ✯
Similar questions
Psychology,
1 year ago