How to make a while loop but with more conditions C++

后端 未结 0 1945
时光取名叫无心
时光取名叫无心 2020-11-30 06:33

while (user_input2 != \'1\' || user_input2 != \'2\' || user_input2 != \'3\' || user_input2 != \'4\' || user_input2 != \'5\')
{
cout << "Invalid

相关标签:
回答
  • 消灭零回复
提交回复
热议问题