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;
...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Paul McKenzie Search: Search took 3.77 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |