Two Makes Ten

Published by Werdna in

Create a function that takes two arguments. Both arguments are integers, a and b. Return Found if one of them is 10 or if their sum is 10. Otherwise, return Not found.

Examples

makesTen(9, 10) ➞ "Found"

makesTen(9, 9) ➞ "Not found"

makesTen(1, 9) ➞ "Found"

Notes

Don't forget to return the result.

Watch a quick demo on how Edabit works.