Menu
How would I make the number-z, squared-y and cubed-x display in a javascript alert box as a table?
<head>
<title>Max </title>
</head>
<body>
<script type=”text/javascript”>
// <![CDATA[
var x = 0; var y = 0; z = 0; var count;
for ( count = 8; count <= 25; count=count + 1)
{
if ( count <= 15 )
{
z = count
y = ( count * count);
x = ( count
}
}
// ]]>
</script>
</body>
</html>