And why do you have two Console.ReadLine() calls after your prompt? Your second ReadLine() is probably just returning an empty string, i.e., you enter a number, hit enter (first ReadLine(), which is discarded), and then hit enter again.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |