Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function birthdayParty(input){
- let rent = Number(input);
- let cakePrice = rent * 0.20;
- let drinksPrice = cakePrice - (cakePrice * 0.45)
- let animatorPrice = rent / 3;
- let sum = rent + cakePrice + drinksPrice + animatorPrice;
- console.log(sum);
- }
Advertisement
Add Comment
Please, Sign In to add comment