borisova936935

Untitled

Jul 9th, 2022
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function basketballEquipment(input) {
  2.    
  3.     let annualPrice = Number(input[0]);
  4.     let sneakers = annualPrice * 0.60;
  5.     let equip = sneakers * 0.80;
  6.     let ball = equip / 4;
  7.     let accessory = ball / 5;
  8.     let sum = annualPrice + sneakers + equip + ball + accessory
  9.     console.log(sum);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment