Cs101 > Cs101_7

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Cs101 > Cs101_7 as PDF for free.

More details

  • Words: 208
  • Pages: 2
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.

Related Documents

Cs101 > Cs101_8
November 2019 1
Cs101 > Cs101_7
November 2019 1
Cs101 > Cs101_9
November 2019 1