ArithmeticOperator-3

 

In this example, Arithmetic operation is var x = 5; var y = 5; var z = x / y; Which will result 1 as output. See the code snippet:

 
 
 
<!DOCTYPE html> <html> <head> <title>Welcome to LearnKode - A code learning platform</title> </head> <body> <p id="sample"></p> <script> var x = 5; var y = 5; var z = x / y; document.getElementById("sample").innerHTML = z; </script> </body> </html>
Output