📜  js 天到小时 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:36.393000             🧑  作者: Mango

代码示例2
var days = parseInt(prompt("Please enter days:"));
var hours = days * 24;
console.log(hours + " Hours");

//Output:
Please enter days: 20
480 Hours