while ((answer != 'A') || (answer != 'B') || (answer != 'C') || (answer != 'D'))
This section of code accepts no answer, instead of just A B C or D.
Any thoughts on how I should do this?
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
+ Reply to Thread
Results 1 to 3 of 3
Click Here to Expand Forum to Full Width