#JavaScriptSolved : Check whether two given integers are similar or not

Write a JavaScript program to check whether two given integers are similar or not, if a given divisor divides both integers and it does not divide either.

function checking_numbers(x, y, divisor) {

if(x % divisor === 0 && y % divisor === 0 || x % divisor !== 0 && y % divisor !==

--

--

#ActionPills | Shawal 🇵🇸

Sharing weekly #ActionPills for both of you and ME. Let's consume and apply this 'actionable pills' in our daily life ^^ > https://taplink.cc/actionpills <