6. Continuation of iteration: Looping
6.1. a. Single Loop
Problem 8
You are asked to makes program to print article NEW YORK 10 times
Solution
To print 10 times must be given iteration constrain 10 times
Logic:
Does iteration 10 times to print word NEW YORK
Programming stages and steps:
Determines string variable to print NEW YORK
Process looping with iteration 10 times
PROG008

FIG.15
At line number 60 PRINT A$ ; " " ; to print space between article New York
Output
After in execution (RUN) result:
New York New York New York New York New York New York New York New York New York New York