rush00

Run Settings
LanguageC
Language Version
Run Command
#include <stdio.h> void rush(int x, int y); int main(void) { rush(5, 5); return 0; } void rush(int x, int y) { for (int i = 0; i < y; ++i){ for (int j = 0; j < x; ++j){ if ( (i == 0 && j == 0) || (i == 0 && j == x - 1) || (i == y - 1 && j == 0) || (i == y - 1 && j == x - 1)){ printf("o"); } else if (i == 0 || i == y - 1){ printf("-"); } else if (j == 0 || j == x - 1){ printf("|"); } else{ printf(" "); } } printf("\n"); } }
Editor Settings
Theme
Key bindings
Full width
Lines