Advertisement
Spocoman

05.Gramophone

Jan 16th, 2022
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function solve(band, album, song) {
  2.  
  3.     let rotation = (band.length * album.length * song.length / 2) / 2.5;
  4.     console.log(`The plate was rotated ${Math.ceil(rotation)} times.`)
  5.  
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement