% Nested loops question
% Show extra output: loop variable values
clear all
clc
n=3;  m=4;
for a = 1:n
   fprintf('a=%d     %s\n', a, 'alpha')
   pause
   for b = 1:m
      fprintf('    b=%d %s\n', b, 'beta')
      pause
   end
end
