Difficulty:
Elementary
Elementary
Tags:
arithmetic, splat operator
arithmetic, splat operator
Instructions:
Write a method that takes any number of integers and returns true if they sum to 21, false otherwise. Hint: splat operator.
Write a method that takes any number of integers and returns true if they sum to 21, false otherwise. Hint: splat operator.
Problem and Solution:
No comments:
Post a Comment