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

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