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