Friday, November 12, 2010

What? Repeat! [November 12,2010]

November 12,2010. Today, we learned a new program control, repeat! Which means we have just started another chapter in our long novel of programming. Like I said with selection, this only gets more and more interesting. Mr. Arkin showed us three keywords and one key phrase, loop, exit, when, end loop. He taught us that the 'test' (exit when), must always be after the change in value, for the program to function correctly. Then, he showed us a few different fragments, each with the test placed differently. It goes to show, it actually does matter! :D
For homework, we were to work on repetition assignments 1 & 2, with a modification to allow the user to specify starting and ending values and the daily blog of course.
-Cindy

No comments:

Post a Comment