Question: I really need help for this Write a Javascript program (i.e. script) that inputs a sequence of names and grades, computes the average of the

I really need help for this

Write a Javascript program (i.e. script) that inputs a sequence of names and grades, computes the average of the grades, and displays the names, grades, and average in an HTML page. Since Javascript doesnt have input/output statements in the normal programming sense it operates as a script in an HTML document, you will need to figure out a way to input the sequence of names and grades. [I use the prompt function to do this.] Similarly, for output you will need to modify the HTML document to output the answer. This can be as simple as replacing the document with the answer using document.write().

(Note: All output should be in a table except the average grade. Please include the letter grade too.)

Letter Grade Description

A

90 and above

B

80 89

C

70 79

D

60 69

F

Below 60

(Please use this code)

Grading Papers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!