Write a program in C language to show the following pattern--
*
**
***
****
Answers
Answered by
1
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("*");
}
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("*");
}
printf("\n");
}
getch();
}
HOPE IT HELPS
#ARCHITECTSETHROLLINS
✯ BRAINLY STAR ✯
Similar questions