logo
Ryan's Webpage
 

<html>
<body>
<script>
//by Ryan Te
//9/25/07

var height;
var width;

height = prompt("What is the height of the rectangle?");
height = eval(height);
width = prompt("What is the width of the rectangle?");
width = eval(width);

var area = height * width;
var perimeter = height + width;

alert ("The area of the rectangle is " + area);
alert ("The perimeter of the rectangle is " + perimeter);

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

 

 

Contact Me

 

Mr. Styner's Webpage

 

Peter

Julie

Nick

Tiddus

Norman