Exercise 11 Solution

%{

Given the script

while x %lt; 10

% some action here

end

- What values of x would cause the loop to be skipped?

Answer: any value of x greater than or equal to 10.

- What would the action in the body of the loop have to include in order
avoid this being an infinite loop?

Answer: it would need to modify x so that after a number of iterations of
the loop x becomes greater than or equal to 10.


%}


For more details, please contact me here.