Friday, October 17, 2014

Write A program to print Logical OR Operator using Javascript (using variable).


Write A program to print Logical OR Operator using Javascript (using variable).
Code : logical-or.html

<html>
<body>
<script type="text/javascript">
var x=4;
var y=3;
var z=5;
document.write("At least one condition should be true:");
document.write( x>5 || y>5 || z>5);
</script>
</body>
</html>

1 comment:

Alwin Co Daan said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Javascript Training in Chennai . or learn thru Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry. JavaScript Training in Chennai