Where is there any print statements in that code to print out the results?
Type: Posts; User: Norm
Where is there any print statements in that code to print out the results?
There is no way to return a method. You can return an object of a class that contains that method.
Test the code with different combinations of 3 numbers and see if it does what you want.