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

Replace LET n =1
Replace DO WHILE n < =5 Replace LET sum = sum + n
with LET n = 5
with DO WHILE n < = 10 with LET sum = sum + n * n

The modified program is:
```
LET n = 5
LET sum — 0
DO WHILE n < = 10
LET sum = sum + n * n LET n = n + 1
LOOP
OUTPUT sum
```

Note: The output will be 355,

Computer Science & Information Technology

You might also like to view...

To view an XPS document, you must have Adobe Reader installed on the computer

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following types of added support can be used by printers and scanners?

a. Bluetooth b. Infrared c. Wi-Fi d. USB e. Ethernet f. All answers provided are correct

Computer Science & Information Technology