Modify the example program immediately preceding these practice problems to sum the squares of the integers from 1 to 5.

Replace LET sum = sum ± n with LET sum = sum + n * n

The modified program is:
```
LET n = 1
LET sum = 0
DO WHILE n < = 5
LET sum = sum + n * n LET n = n + 1
LOOP
OUTPUT sum
```
Note: The output will be 55.

Computer Science & Information Technology

You might also like to view...

According to the Interagency Guidelines, who must approve the bank's written information security program?

A. chief executive officer B. chief security officer C. Board of Directors D. information owner

Computer Science & Information Technology

Users may identify ____________________ on their computer to associate with ZumoDrive.

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

Computer Science & Information Technology