Friday, October 17, 2014

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

Write A program to print Logical AND Operator using Javascript (using variable). Code : logical-and.html <!-- write a program to use of logical and operator --> <html> <body> <script type="text/javascript"> var x=8; var y=6; var z=3; document.write("All the condition should true : "); document.write( x>5 && y>5 && z>5); </script> </body> </html>

No comments: