Solve: Blackjack
Imported By: Geoffrey Challen
/ Version: 2021.7.0
Given 2 int
s greater than 0, return whichever value is nearest to 21 without going over.
Return 0 if they both go over.
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 blackjack(int first, int second) {
return 0;
}