#include <conio.h> int main ( void ) { int i; clrscr(); for ( i = 0; i < 20; i++ ) cprintf ( "%d\r\n", i ); cprintf ( "\r\nPress any key to clear screen" ); getch(); clrscr(); cprintf ( "The screen has been cleared!" ); getch(); return 0; }