0
/ 50

Write a function in Java that implements the following logic: Given 2 `int`

values greater than 0, return whichever value is nearest to 21...

Write a function in Java that implements the following logic: Given
2 `int`

values greater than 0, return whichever value is
nearest to 21 without going over. Return 0 if they both go over.

Your feedback will appear here when you check your answer.