Question: A C++ Code. Thank you Write a void function asking for an age value. Using exception handling, throw an integer value if the age is

A C++ Code. Thank you
Write a void function asking for an age value. Using exception handling, throw an integer value if the age is negative. In main call the function and provide the appropriate exception handler that contains a statement to print a message and exit the program in case the age is negative. In case the age is positive display a message that "All is fine
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
