the code below clears the screen:
system("cls");