need help please
Author |
Message |
mal
|
Posted: 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
|
|
|
wtd
|
Posted: Thu Nov 11, 2004 6:08 pm Post subject: (No subject) |
|
|
Not enough information. Plus we don't do homework. |
|
|
|
|
|
|
|