Write a static method that receives three integers. It should return the value of whichever variable is smallest.
This assignment is here so that you can practice writing a static method.
Examples:
minOf3(1, 2, 3)
returns 1
minOf3(1, 2, -1)
returns -1
minOf3(5, 5, 5)
returns 5
minOf3(-1, -2, -3)
returns -3
©2003–2016 Graham Mitchell
This assignment is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.