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
Political Science,
7 months ago
Science,
7 months ago
Computer Science,
7 months ago
Math,
1 year ago
Hindi,
1 year ago
Accountancy,
1 year ago