Page 1 of 1

The returnOrThrow function is very silly—sometimes it returns a random number, and sometimes it throws a random number a

Posted: Fri May 20, 2022 3:20 pm
by answerhappygod
The returnOrThrow function is very silly—sometimes it
returns a random number, and sometimes it throws a random number as
an exception. Please complete the following code to always print
out the number that the returnOrThrow function gives back, even if
it throws it as an exception.