Check Greater
EasyP3Coding
Return true if a is greater than b and c is greater than d. Return false otherwise.
Example 1
- Input
- a = 5, b = 3, c = 8, d = 2
- Output
- true
Example 2
- Input
- a = 3, b = 5, c = 8, d = 2
- Output
- false
Example 3
- Input
- a = 5, b = 3, c = 2, d = 8
- Output
- false
Constraints
- -10^9 <= a, b, c, d <= 10^9
Hints
Give it a real attempt first. Run shows which examples fail.
Saved automatically
Run checks the 3 visible tests, Submit all 8. ⌘Enter runs, ⌘⇧Enter submits.