Is there a way to only allow user input 1 and 0 and reject other numbers and alphabets?

前端 未结 0 1728
再見小時候
再見小時候 2021-01-29 12:05

I am a newcomer to C, and I have a program where user can select 1 to continue the program or 0 to stop the program. When the user enter other numbers or alphabets, the program

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