#include <stdio.h>

void print_char(char ch, int count);

int main(void)
{
    print_char('@', 5);

    return 0;
}

void print_char(char ch, int count)
{
    int i;

    for (i = 0; i < count; i++)
        {
            printf("%c", ch);
        }

    return;
}

Embed on website

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