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