#include <unistd.h>

void my_putchar(char c)
{
    write(1, &c, 1);
}

void rush(int x, int y)
{
    int i;
    int n = 0;
 
    for (i = 0; i <= x; i++) {
        my_putchar('o');
        my_putchar('\n');
    }
    for (i = 0; i < y - 2; i++) {
        my_putchar('|');
        my_putchar('\n');
    }
    for (i = 0; i < n; i++) {
        my_putchar('o');
        my_putchar('\n');
   }
}

int main()
{
    rush(1, 3);
    return (0);
}

Embed on website

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