// JavaScript: Check whether a given positive number is a multiple of 3 or a multiple of 7 let a = Number ( prompt ( "enter the value" )) // let b = Number(prompt("enter the value")) if ( a % 3 == 0 || a % 7 == 0 ){ console . log ( `yes ${ a } is dividible ` ) } else { console . log ( `no ${ a } is not devided ` ) }
Comments
Post a Comment