Created
October 19, 2015 15:33
-
-
Save anjanaraveendra/7dbe1afd99af9dd816c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var a=prompt("Enter a value"); | |
if(a%2==0) | |
{ | |
alert("Given number is even"); | |
} | |
else { | |
alert("Give number is odd"); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment