Modify example program to average the squares of the data given

Replace LET sum = sum + num with LET sum = sum + (num * num)


The modified program is:
```
Data List: 9, 10, 15, 20, 33, 52, 17, 62, 22, 76 LET sum = 0
LET count = 0
INPUT precount
DO WHILE count < precount
INPUT num
LET sum = sum + (num * num) LET count = count + 1
LOOP
LET average = sum / count
OUTPUT average
```

Computer Science & Information Technology

You might also like to view...

The combination of Network layer address and port is referred to as a(n) ____________________.

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

Computer Science & Information Technology

When you set the ________ property, Access updates the primary key in all related tables if it changes on the one side of the relationship

A) Cascade Delete Related Records B) update C) Cascade Update Related Records D) Enforce Referential Integrity

Computer Science & Information Technology

The Trim method removes all whitespace characters that appear ______ a String.

a) in b) at the beginning of c) at the end of d) at the beginning and end of

Computer Science & Information Technology

Where are all citation sources created in Word saved?

A) In Track Changes B) In the Current List C) In a bibliography D) In the Master List

Computer Science & Information Technology