📅  最后修改于: 2022-03-11 15:03:36.393000             🧑  作者: Mango
var days = parseInt(prompt("Please enter days:"));
var hours = days * 24;
console.log(hours + " Hours");
//Output:
Please enter days: 20
480 Hours