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')
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')
if between two numbers javascript
if (500 < thenumber && thenumber < 600) {
// ...
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us