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...

When the ellipsis Button to the right of the Font property value is clicked, the is displayed.

a) Font Property dialog b) New Font dialog c) Font Settings dialog d) Font dialog

Computer Science & Information Technology

In the accompanying figure, the text marked with a green arrow is the result of having a(n) ____ attribute in the code.

A. alt B. src C. name D. img

Computer Science & Information Technology

When working with queries, viewing a query in Datasheet View is the same as running the query

Indicate whether the statement is true or false

Computer Science & Information Technology

What is cyberspace? Discuss various terms that pertain to criminal behavior involving computers

What will be an ideal response?

Computer Science & Information Technology