Originally posted here by LoggOff
ok, clrscr(); comes up with an error "implicit declaration of function `int clrscr(...)'"

is it in a different libraby than iostream.h?
It should be in conio.h for the Borland compiler. There's no mention of it in Visual C++.

PS: Always use <iostream> not <iostream.h> which is the older, deprecated style.

PPS: cgkanchi -- why use a loop? Why not just read all 10 at once?