How to keep on looping until i get desired data type

后端 未结 0 1870
执念已碎
执念已碎 2021-01-02 14:29

How can I keep on looping until I get the desired data type in cin for ex I want to keep on looping if the user enter non - integer digit for ex in this cod

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