#include <stdio.h>

void linea (int n, char c){
    int i;

    for (i=0; i< n; i++) {
       printf("%c", c); 
    }
}

void natale (int n) {
   int i;
   for (i=0; i<n; i++){
       linea (i, c:'*' );
   }
    printf ("\n");
}
void main() {
    natale (n:10);
}

Embed on website

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