12# Two Makes Ten | Scratch Coding Practices & challenging Tasks
YouTube Viewers YouTube Viewers
11.2K subscribers
387 views
0

 Published On Sep 6, 2022

Write a Program that takes two arguments. Both arguments are integers, a and b. Return true if one of them is 10 or if their sum is 10.

Examples
makesTen(9, 10) ➞ true
makesTen(9, 9) ➞ false
makesTen(1, 9) ➞ true

show more

Share/Embed