Something is not quite right with this method. Can you think of two different solutions that fix the issue?
return result at the end of the methodvoidprint()Fantastic! The method specifies a return type but doesn't return anything. We can either add a return statement or use void.
So close! The method specifies a return type but doesn't return anything. We can either add a return statement or use void.