add clrscr() twice in sample.c