What will be printed when the following algorithm is processed?
```
COUNTER = 0
DISTRIBUTION = 500
WHILE DISTRIBUTION > 200 AND COUNTER < 5
GIVEAWAY = DISTRIBUTION * .5
PRINT GIVEAWAY
DISTRIBUTION = DISTRIBUTION – GIVEAWAY
COUNTER = COUNTER + 1
WHILE-END
```
b. 250, 125
Computer Science & Information Technology
You might also like to view...
The ____________________ type is C++ 's method for allowing programmers to create their own simple data types.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
Algorithms that run multiple threads at the same time are called ____.
A. posttest loops B. count-controlled loops C. parallel algorithms D. sentinel loops
Computer Science & Information Technology