When I compile/run this code, I get an error message. Is this an execution error?
Also, my guess about the problem in this code is that due to catch(int i)
especially because 2./4 does not return an int value. Am i right?
The code works well when I replace catch( int i ) to catch (double i)