how to check if a number is multiple of 3 in javascript code example
Example: javascript check if number is multiple of 3
var num
num = prompt('Enter the number')
if (num % 3 == 0)
document.write('Multiple of 3')
else
document.write('Not a multiple of 3')