📅  最后修改于: 2022-03-11 15:03:40.152000             🧑  作者: Mango
var num
num = prompt('Enter the number')
if (num % 3 == 0)
document.write('Multiple of 3')
else
document.write('Not a multiple of 3')