#include <stdio.h>

int main() {
    int i;
    int contador;

    // Imprime os números de 1 a 10, cada um 3 vezes
    for (i = 1; i <= 10; i++) {
        for (contador = 0; contador < 3; contador++) {
            printf("%d ", i);
        }
    }

    printf("\nHello world!\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: