Return to List## Solve: Pos Neg

### Related Lessons

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.

fun posNeg(

a: Int,

b: Int,

negative: Boolean,

): Boolean {

return false // You may need to remove this starter code

}

Stuck? You may find these lessons helpful: