Skip to content
Onsite

Both Pair Sums Exceed a Number

EasyP3Coding

Return true if both one + two and three + four are greater than five. Otherwise return false.

Example 1

Input
one = 3, two = 3, three = 3, four = 3, five = 5
Output
true

Example 2

Input
one = 3, two = 3, three = 1, four = 1, five = 5
Output
false

Example 3

Input
one = 1, two = 1, three = 3, four = 3, five = 5
Output
false

Constraints

  • -10^9 <= each value <= 10^9

Hints

Run checks the 3 visible tests, Submit all 8.