#include <stdio.h>

int main() {
    int i;
    // Ciclo for que imprime los números del 1 al 5
    for(i = 1; i <= 5; i++) {
        printf("%d\n", i);
    }
    return 0;
}

Embed on website

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