Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 need help please
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mal




PostPosted: Thu Nov 11, 2004 6:03 pm   Post subject: need help please

this is my first year doing programming and i need help on a problem with robot programming..
A wall of unknown length runs north-south. robot
is placed at the south end of the wall on the east
side. The robot carries things.
i.e., Things, in its backpack.
Extend the method main() to plant tulip bulbs on the east and
the west sides of the wall, then stop. Modify the
instantiation of the robot so that it has exactly the correct
number of bulbs it needs.
Instruct the robot to put down the
remaining bulbs it carries in the gardening shed which happens
to be at the Intersection of Avenue 1 and Street 1.

that up there is the question..
i cant use for() loops i know how to use a do loop to put all the robots all i need help with is what method to use for this program besides the normal "move(),turnLeft(), pickThing(),putThing()" if anyone can help just alittle that would be much appreciated
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Thu Nov 11, 2004 6:08 pm   Post subject: (No subject)

Not enough information. Plus we don't do homework.
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: