-
September 5th, 2010, 10:13 PM
#1
AP computer science help
i'm having problems remembering syntax. does anyone think they could help me?
a drunk is placed at the center of a 7 m bridge. each steps he moves one meter forward or one step back wards. i need to write a program that will determine how many steps the drunk will take before falling off the bridge. it needs to display the bridge for every stage of the trip. it needs to do this 50 times and display the average and greatest number of steps. any help is much appreciated
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|