CS 101 Introduction to Computing
Assignment #07 DEADLINE Your assignment must be uploaded / submitted before or on 23rd Jul 2004.
UPLOAD INSTRUCTIONS Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.
RULES FOR MARKING Please note that your assignment will not be graded if: • It is submitted after due date • The file you uploaded does not open • The file you uploaded is copied from some one else • It is in some format other than .html
OBJECTIVE This assignment is designed to give you practice in writing functions using mathematical methods.
ASSIGNMENT Develop a web page as shown below. The webpage should fulfill the following requirements. • • • • • •
This page should take two inputs in centimeters. First is the hypotenuse and second is the base of the right angle triangle. After clicking at click button, check that the value of hypotenuse should be greater than base. Call the areafind( ) function on click event of button. This areafind( ) function should calculate the perpendicular of right angle triangle using Pythagorean Theorem. It will then calculate the area of triangle. Display the rounded values of perpendicular and area in the same window.