enter code here void clrscr() { system("cls"); }
using the "system" function you enter a cmd command which is in this case "cls" in code it will look something like this system("cls"); and it will clear your screen