IF YOU ARE RUNNING THE CODE ON CODEBLOCKS USE system("cls") AT THE START OF THE SCREEN FUNCTION IF YOU ARE RUNNING THE CODE ON ONLINE COMPILERS LIKE REPL USE printf("\033[0;0H\033[2J") AT THE START OF THE SCREEN FUNCTION
IF YOU ARE RUNNING THE CODE ON CODEBLOCKS USE system("cls") AT THE START OF THE SCREEN FUNCTION IF YOU ARE RUNNING THE CODE ON ONLINE COMPILERS LIKE REPL USE printf("\033[0;0H\033[2J") AT THE START OF THE SCREEN FUNCTION