C++ - Exceptions. Write the following instructions as a piece of try/catch block to check excpetions -The
Fantastic news! We've Found the answer you've been seeking!
Question:
C++ - Exceptions.
Write the following instructions as a piece of try/catch block to check excpetions
-The program wants to check the positive number input from the user.
-The program needs to throw exception when negative number is found and show the following message as an error message "ERROR: Negative number found"
(Try using try/catch block)
Posted Date: