Solve: Close 10
Imported By: Geoffrey Challen
/ Version: 2021.4.0
Given 2 int
values, return whichever value is nearest to the value 10, or return 0 in the event of a tie.
For this problem we're expecting only a method.
Don't define a class, include modifiers like static or public, add import statements, or add code outside the method declaration.int close10(int first, int second) {
return 0;
}