logo Practice-It logo

BJP4 Self-Check 3.16: min

Language/Type: Java Math method basics parameters return
Author: Roy McElmurry (on 2016/09/08)

Write a method called min that takes three integers as parameters and returns the smallest of the three values, such that a call of min(3, -2, 7) would return -2, and a call of min(19, 27, 6) would return 6. Use Math.min to write your solution.

Type your solution here:


You must log in before you can solve this problem.

Log In


Is there a problem? Contact a site administrator.