Can you help me to implement a try and catch in case the user types a noninteger?

Related Book For  answer-question
Posted Date: