Make your own free website on Tripod.com
 
Home
ActionScript
Blog

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<script>

var number1=0;
var number2=0;
var number1=prompt("Please pick one number.");
var number2=prompt("Please pick a second.");var total=0;
number1 = eval(number1);
number2 = eval(number2);
var total = number1 + number2;
alert ("Your answer is" + total + "!");

 

var number1=0;
var number2=0;
var number1=prompt("Please pick one number.");
var number2=prompt("Please pick a second number");var total=0;
number1 = eval(number1);
number2 = eval(number2);
var total = number1 * number2;
alert ("Your answer is " + total + "!");

var number1=0;
var number2=0;
var number1=prompt("Please pick a first number.");
var number2=prompt("Please pick a second number.");var total=0;
number1 = eval(number1);
number2 = eval(number2);
var total = number1 / number2;
alert ("Your answer is " + total + "!");

var number1=0;
var number2=0;
var number1=prompt("Please pick a first number.");
var number2=prompt("Please pick a second number");var total=0;
number1 = eval(number1);
number2 = eval(number2);
var total = number1 - number2;
alert ("Your answer is " + total + "!");

</script>