Unformatted text preview: The race is 50 steps long. At each iteration you should write an appropriate message: Tortoise crawls 4 steps forward, is at step 30. Egg rolls 1 step forward, is at step 28. Announce the race results at the end. Problem 2 [10 pts] What is the answer to the age old question of which comes first, the chicken or the egg? What to hand in Please run at least two scenarios, one with three animals and one with all four. Capture your screen image into a text file, and upload your code as well as the captured output to blackboard. PLEASE MAKE SURE THAT YOU UPLOAD ONLY ONE FILE CONTAINING BOTH YOUR CODE AND YOUR OUTPUT, AND THAT YOU LABEL IT AS: FIRSTNAME_LASTNAME.(doc/pdf/txt). You must upload this by Monday Dec. 14 Midnight. Resources Please use the resources available at this websites to help with your assignment: http://www.cplusplus.com/doc/tutorial/...
View Full Document
This note was uploaded on 11/09/2010 for the course ECE 327 taught by Professor Babakkia during the Fall '09 term at BU.
- Fall '09
- Software engineering