Computer Science Canada

so somlicated...please explain this loop

Author:  lei4848 [ Fri Jun 09, 2006 10:10 pm ]
Post subject:  so somlicated...please explain this loop

code:
for i : 1 .. 3    % outer for loop
      for j : 1 .. 4        % inner for loop
         put "* " ..
      end for         % end of inner loop
      put ""            % start a new line on the screen   
end for                      % end of outer loop

whats is the output and how did you get it?

Author:  TheOneTrueGod [ Sat Jun 10, 2006 9:20 am ]
Post subject: 

This is a homework question. We are not here to do your homework for you. Instead of trying to get other people to do your HW for you, why not just learn the material yourself, so you'll actually do well on the exam.

Author:  Cervantes [ Sat Jun 10, 2006 10:10 am ]
Post subject: 

Spamming the site by posting your question twice is against [The Rules].

Locked.


: