Top
/
Debug
/
Hand checks
/
Answer-hand-5
Answer to Question hand-5
First, the contract says there are 2 parameters, but the function definition has 3 parameters. Second, it appears that
r
is being treated as an out-parameter, but it is passed by value.