Make your own free website on Tripod.com

~~~Chao Li~~~

~Kumo no Mukou, Yakusoku no Basho~

 
~~~~

<html>
<head>
<title>Number Adding<title>
</head>

<body>
<script>
//Chao Li. September 26, 2007.
alert ("Hey you, we are going to add two numbers together.");

var number1;
var number2;

number1 = prompt ("Pick a number.");
number2 = prompt ("Pick a second number.");

number1 = eval(number1);
number2 = eval(number2);

var total = number1 + number2;
alert ("And the total is!");
alert (total);

</script>
</body>
</html>

 
 
 
~~~~