% while6.m   P.Conrad for CISC106, 07F
% practice problem to test knowledge of while loops
% What is the output?

i = 1;
while (i<10)
  fprintf('o');
  i = i + 2;
end
fprintf('x\n');
