September 5th, 2010, 11:13 PM
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
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!