How do i tell the program to ignore or reject zeroes and negetive numbers in a c++ code

前端 未结 0 538
轻奢々
轻奢々 2020-11-30 01:00

Let\'s say the function is getCups() which accounts for the number of boxes collected. I don\'t want the user to type in a negative number or a zero and would like to give t

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