+ 1
I want to add a comparison Operator I want that I click on a button and it opens a the comparison Operator
6 Respostas
0
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<p> first check whether number os negative aor positive</p>
<button onclick="show();">divisible by 9</button>
</body>
</html>
function show(){
var x= prompt("enter number")
var x = (x%9==0) ? "divisible":"not"
}
0
I am doing this someone please help
After clicking I input number but it gives nothing
0
Thanks bro. Very thanks
0
It worked
0
Ok thanks