Less Than 100 Array Remix

Published by nobodysbetter in

Given an array of numbers, return true if the sum of the array is less than 100; otherwise return false.

Examples

arrayLessThan100([5, 57]) ➞ true

arrayLessThan100([77, 30]) ➞ false

arrayLessThan100([0]) ➞ true

Notes

N/A

Watch a quick demo on how Edabit works.