Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function solve(input) {
- let days = Math.trunc(input * 100 * 365.2422);
- console.log(`${input} centuries = ${input * 100} years = ${days} days = ${days * 24} hours = ${days * 1440} minutes`)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement