Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function gramophone(input) {
- let band = input[0];
- let album = input[1];
- let song = input[2];
- 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