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