#include <stdio.h>

int main() {

    void stampalinea() {
        int i;
        for(i=0; i<10; i++) {
            printf("-");
        }
        printf("\n");
    }

    stampalinea();
    printf("ciao mondo!!!\n");
    stampalinea();
}

Embed on website

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