Solve: Pos Neg
Imported By: Geoffrey Challen
/ Version: 2021.4.0
Given 2 Int values, return true if one is negative and one is positive.
Except if the parameter negative is true, then return true only if both are negative.
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.fun posNeg(
a: Int,
b: Int,
negative: Boolean,
): Boolean {
return false
}