Modify the example program immediately preceding these practice problems to sum the integers from 1 to 100.
Replace DO WHILE n < = 5 with DO WHILE n < =100
The modified program is:
```
LET n = 1
LET sum =
DO WHILE n < = 100
LET sum = sum + n LETn=n+1
LOOP
OUTPUT sum
```
Note: The output will be 5050. Compare this to the solution of problem A-6.11.
You might also like to view...
Some tags are ____________________, occurring only as single tags.
Fill in the blank(s) with the appropriate word(s).
Many designers feel that a ____ font is preferable for files read electronically.
A. serif B. monospace C. sans-serif D. cursive
Select a(n) ________ when you want to display all of the records on the one side of a relationship
Fill in the blank(s) with correct word
In addition to their attributes, class objects have methods associated with them, and every object that is an instance of a class possesses the same methods.
Answer the following statement true (T) or false (F)