Question: Integers jon _ in and jon _ out are read from input, representing the age that Jon started and quit a job. The minimum age

Integers jon_in and jon_out are read from input, representing the age that Jon started and quit a job. The minimum age for work is 17. In the try block
Raise a ValueError exception with the message "Jon's starting age must be at least 17" if jon_in is less than 17.
Raise a ValueError exception with the message "Jon's ending age must be at least Jon's starting age" if jon_out is less than jon_in.
Click here for example 1(invalid input - starting age too low)
Click here for example 2(invalid input - ending age less than starting age)
Click here for example 3(valid input)
Integers jon _ in and jon _ out are read from

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!