#include <stdio.h>

int main() {
int i, j;
for(i=0;i<5;i=i+1)
{for(j=0;j<i+1;j=j+1)
{ printf("*");}
printf("\n");}}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: