Originally posted by red_baron
>scanf("%d" &choice);
You didn't do any error checking here. What if a letter is entered by mistake? And you forgot the comma, so it won't compile for me anyway.

>system("CLS");
Read quzah's post. Here's a quote:
>Additionally, you use screen clearing, which is non ANSI code.
(The same goes for the system("PAUSE") call.)

Also, system() lives in stdlib.h, which you haven't included.

I think smilk has had enough confusion for one day