Reply
Old 08-07-2013, 06:08 AM   #1 (permalink)
Rob
 
Status: Senior Member
Posts: 274



Default can anyone please help me with my bluej program

Hi everyone im trying to write a program for my homework. It is asking to only write If/else statements for each of these instructions in one program and for it to work.

- First the robot has to walk around a hurdle. Then the robot has to pick up a
weight. Finally the robot has to carry the weight to the end of the course and
drop it again.

-If the hurdle is missing, the robot should instead run back to the start of the
course, then back to where the hurdle should be, and then continue the triathlon.

-If the weight is missing, the robot should run to the top of the course, then back
to the bottom, and then continue the triathlon.

If at the end of the course the robot is not carrying the weight, the robot should
self-destruct in an attempt to draw attention to the poor funding situation. Any
method of suicide is acceptable.

My code so far is downloadable here: https://www.dropbox.com/s/pfup26x1edbflga/Homework2.rar
And here's a screenshot of all the method names: http://prntscr.com/1juiaw

Can anyone PLEASE help me correct and write the rest of the program? :( I'm very stuck! ><

Rob is offline   Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
blueJ program code help? Zahra Coding 1 12-05-2013 03:06 AM
Java program in BlueJ? RachelleC Coding 1 02-26-2013 07:06 PM
Please help me with this BlueJ program...!? LinkinPark Programming 0 01-27-2013 07:06 PM
Can i email a bluej program? Unknown_User Programming 1 07-01-2012 12:06 PM
I am using BlueJ currently. Somehow when i try to run my program nothing happens Ineedhelp Programming 0 08-15-2011 02:08 AM