Homework: Pos Neg
Imported By: learncs.online Staff
/ Version: 2021.4.0
int values, return
true if one is negative and one is positive.
Except if the parameter
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.
Please Log In to Complete Homework Problems