% nestedLoop.m    Illustrate nested for loop
% P. Conrad for CISC106, 10/14/2007

for i=1:4
  fprintf('+');
  for j=1:5
    fprintf('-');
  end
  fprintf('+\n');
end

% end nestedLoop.m
