<!DOCTYPE html>
<html>
<body>
<h2>second game</h2>
<script>
var num1 = 0
var num2 = 0
var num = 0
num1 = prompt (“Can you please give me a number?”);
num2 = prompt (“How about a second number?”);
num1 = eval(num1);
num2 = eval(num2);
num = num1 + num2;
alert (“the total of your two numbers is ” + num);
</script>
</body>
</html>
Published by pflynt
My sense of humour is absurdist, inwardly bleak, caustic and morose, self-referential, rebellious and defiant, even in some cases sadistic, but overall sincere and even in the tragedies, hopeful.
View more posts