Write a function qualityPoints that inputs a student’s average and returns 4 if a student's average is 90–100, 3 if the average is 80–89, 2 if the average is 70–79, 1 if the average is 60–69 and 0 if the average is lower than 60. Incorporate the function into a script that reads a value from the user. Display the result of the function in the browser’s status bar.

What will be an ideal response?


```

1

2

3

4

5

6

7 Solution: 16.25

8

9

33

34

35

36



37

38

39

40

43
Computer Science & Information Technology

You might also like to view...

Describe a strategy for writing template functions.

What will be an ideal response?

Computer Science & Information Technology

Each cell of a table can hold only text or numbers.

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

Computer Science & Information Technology

Choose the item below that is not an HTML5 element.

a. footer b. figure c. wrapper d. article

Computer Science & Information Technology

Hyper-V ________ Memory is anoption to enhance memory utilization for VMs. It helps free up memory in the poolby reallocating a portion of RAM assigned to idle or underutilized VMs

Fill in the blank(s) with correct word

Computer Science & Information Technology
Enter grade
41 ONCLICK = "determineQualityPoints()"

42