Home » » If else in Javascript Example

If else in Javascript Example

If else in Javascript Example

If else in Javascript Example

If else

<html>
<head>
<title>
welcome
</title>
</head>
<body>
<script>
var a;
a=25;
if(a>=18)
document.write("I am elgible for vote");
else
document.write("I am not eligible for vote");
</script>
</body>
</html>


0 coment�rios:

Post a Comment

Link you don't want to vouch for Read more: https://html.com/seo/#ixzz5zVltiZ5g