#include <stdio.h>

void printNumbers()
{
    for (int i=1; i<=5; i++)
        {
            printf ("%d", i);
            if (i<5)
                {
                    printf (" ");
                }
        }
    printf ("\n");
}

int main()
{
    printNumbers ();
    printNumbers ();
    return 0;
}

Embed on website

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