This preview shows page 1. Sign up to view the full content.
Unformatted text preview: misses the target, the user should again be prompted for an angle and an impulse. The second and third shots should be plotted in a different color. If the user fails to hit the target in three tries, the program should display a message and prompt the user for a new game. Submission: Projects will be graded in class on Friday, October 29. You must be present to receive a grade, and you should be prepared to explain how sections of your code work. Late projects will not be accepted . Hints: To generate random numbers, use the rand or randi functions. Research graphics handles, as well as the special handles gcf and gca . Help: Steven Hair firstname.lastname@example.org Nathan Doane email@example.com Office Hours: Mondays 10:00-11:00am Thursdays 3:00-5:00pm Website: http://faculty.cua.edu/regalia/csc113...
View Full Document
- Fall '10