View Single Post
Completely lost.....
Old
MSU4Life
Guest
 
Status:
Posts: n/a
Default Completely lost..... - 02-07-2009, 11:28 AM

New to Alice, had a in my lab for the class the other day and now 3 days after I failed to complete the work in class I am still racking my brain. This is no longer for a grade, only for future reference.

Our TA designed a program that had a kangaroo hop twice and land on a box. The initial distance from the kangaroo to the box is set to 6 meters. Each hop covers 2 meters and the landing covers 2 meters. I have to create a variable that allows the hops and landing to cover the right distance regardless of the position of the box from the kangaroo.

Any help would be greatly appreciated.
   
Reply With Quote