Basketball Points

Published by Deep Xavier in

You are counting points for a basketball game, given the amount of 2-pointers scored and 3-pointers scored, find the final points for the team and return that value.

Examples

points(13, 12) ➞ 62

points(17, 12) ➞ 70

points(38, 8) ➞ 100

Notes

N/A

Watch a quick demo on how Edabit works.