CHECK WHETHER A NUMBER IS DIVISBLE BY 5 AND 11 OR NOT USING JS ||IF ELSE||

Опубликовано: 09 Апрель 2026
на канале: DevTechHub
1,970
17

Welcome all, We will see JavaScript Program to Check whether a Number is is divisible by 5 and 11 or not with source.

To find an entered number is 5 and 11 or not is very simple, all you have to do is divide the number by 5 and 11 and if you get the remainder 0 (zero) then it is an divisible by 5 and 11 otherwise not.

Source Code:
_____________________________________________
// Write a js program to check whether a number is divisible by 5 and 11 or not.

// var num = +prompt("Enter any number");

// if((num%5 == 0) && (num%11 == 0)){
// document.write("Number is divisble by 5 and 11")
// }else{
// document.write("Number is not divisible by 5 and 11");
// }
_____________________________________________

Guys, Please support my channel by SUBSCRIBE to my channel and share my videos .