Thanks, BPE.
x = Console.ReadLine();
This line also needs to be within the do-while loop, otherwise x never gets updated.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 11 of 11
Threaded View
|
Click Here to Expand Forum to Full Width |