Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function basketballEquipment(input) {
- let annualPrice = Number(input[0]);
- let sneakers = annualPrice * 0.60;
- let equip = sneakers * 0.80;
- let ball = equip / 4;
- let accessory = ball / 5;
- let sum = annualPrice + sneakers + equip + ball + accessory
- console.log(sum);
- }
Advertisement
Add Comment
Please, Sign In to add comment