Modify the example program immediately preceding these practice problems to sum the integers from 6 to 10.

What will be an ideal response?

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

Note: The output will be 40.

Computer Science & Information Technology

You might also like to view...

Which of the following allows virtual machines to share the NIC of the host?

A. Virtual LANs B. NAT C. Bridging D. Virtual NICs

Computer Science & Information Technology

Which type of DNS allows the zone information to be stored across multiple domain controllers?

A. Active Directory-integrated zones B. secondary zones C. primary zones D. recursive zones

Computer Science & Information Technology