Spocoman

Birthday Party

Jan 4th, 2022 (edited)
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function birthdayParty(input) {
  2.     let rent = Number(input),
  3.         cake = rent / 5,
  4.         drinks = cake * 0.55,
  5.         animator = rent / 3;
  6.  
  7.     console.log(rent + cake + drinks + animator);
  8. }
Add Comment
Please, Sign In to add comment