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