Exception Handling Challenge | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Exception Handling Challenge

1. Five functions with 2 parameters and return value with double type - add, subtract, multiply, divide, power In case of power -> power (4, 3) = 4 * 4 * 4 -> multiply 4 three times. You can use one of the following methods - a power operator if any, a library power function if any, or a logic using loop 2. Two user inputs with exception handling. In case of character input or if one or two numbers are missing, after displaying a different error message for each exception ca

13th Feb 2018, 7:31 AM
SANG Kim
SANG Kim - avatar
1 Answer
13th Feb 2018, 1:31 PM
SANG Kim
SANG Kim - avatar