Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 499 Bytes

File metadata and controls

22 lines (12 loc) · 499 Bytes

Problem 23

You will be solving the given problem below.

Problem

Tom's favorite number is ten, and he is on the look-out for the value 10 or the sum 10 out of the values given to him. Tom needs you to confirm if any of the values given have what he is looking for.

Return true if one value is 10 or return true if the sum of both values is 10;

Example:

lookOut10(9, 10) --> true

lookOut10(9, 9) --> false

lookOut10(1, 9) --> true

Submission

Commit and push your solution to GitHub