What happened if user inputs wrong data?
Answers
Answered by
3
Answer:
just edite it or redo all the work
Have a good day<3
Answered by
0
Answer:
How do you handle the wrong data type input in C ++? The thing to do is to clear that flag and discard the bad input from the input buffer. See the C++ FAQ for this, and other examples, including adding a minimum and/or maximum into the condition.
Similar questions