Make your own free website on Tripod.com

~Chao Li~

~Kumo no Mukou, Yakusoku no Basho~

 
~~~~

<html>
<head>
<title>Adder</title>
</head>

<body>
<h1>The Adder<h1>
<script>
//Chao Li. September 20, 2007
//Adder
//Demonstrates how a computer does math

var meal = 22.50;
var tip = meal * .15;
var total = meal + tip;
alert ("the meal is $" + meal);
alert ("the tip is $" + tip);
alert ("Total bill: $" + total);
</script>
</body>
</html>

 
 
 
~~~~