Similarly, modify your grades.html page so that it uses a function to encapsulate the statements for accessing individual grades, calculating their average, and displaying that average in the page. The button in the page should call this function when clicked.

What will be an ideal response?


```







Grade Calculator













Homework average:
Lab average:
Midterm score:
Exam score:








```

Computer Science & Information Technology

You might also like to view...

Most of the time, when you build the basic structure of your presentation, you will work in Design view.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Assume a TCP sender receives an acknowledgement (ACK), that is, a TCP segment with the ACK flag set, where the acknowledgement number is set to 34567 and the window size is set to 2048. Which sequence numbers can the sender transmit?

What will be an ideal response?

Computer Science & Information Technology

A decision can be made in a Java program with a(n) ___________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

CIDR notation allows you to simply specify the number of bits that are used for a mask after the IP address

Indicate whether the statement is true or false

Computer Science & Information Technology