<html>
<title>even or odd</title>
<script>
var a=prompt("enter the value to check number is even or odd");
if(a%2==0)
{
document.write("the no is even");
}
else
{
document.write("the no is odd");
}
</script>
</html>
wow gajab
ReplyDelete