for
loop.Below you will find a program that appeared on the last quiz. Run the program and determine its output. Also, determine what the final values are for all three variables.
<html> <body> <script type="text/javascript"> var x = 12, y = 6, z = 0; while (x > y) { z++; x = x - z; alert("X = " + x); } alert("X = " + x); </script> </body> </html>