#include <stdio.h>

int main() {
    int n=0;
    while (n<5) {
        int i=0;
        while(i<n) {
            printf("o ");
                i++;
        }
        printf("*");
        printf("\n");
        n++;
    }
    return 0;
}

Embed on website

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