[Solved] C++ Loops forever [closed]
A do–while statement loops as long as the while expression is true. Your while expression is choice != ‘c’ || choice != ‘n’ In common English, that expression means choice is not ‘c’ OR choice is not ‘n’ That statement, logically, is always true. choice is always not one of those things. In both English … Read more