Did you run the program using your debugger? If you did, then you would see the obvious mistake if you single-stepped through the code:


{
case '0':
Missile = "AA";
Price = 150;
...