Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

More Books

Students also viewed these Databases questions

Question

3. What may be the goal of the team?

Answered: 1 week ago

Question

2. What type of team would you recommend?

Answered: 1 week ago