• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

AP Computer Science homework

Ed Ward

Junior Member
ok so below are the instructions and the codes I've done so far. but i guess my logic isn't logical because it's not working. well anyways, there are 3 robots. each of them have to pass obstacles like walls and all of them have the same codes. you can use if-then-else statements. what am i doing wrong?


 
Originally posted by: Ed Ward
ok so below are the instructions and the codes I've done so far. but i guess my logic isn't logical because it's not working. well anyways, there are 3 robots. each of them have to pass obstacles like walls and all of them have the same codes. you can use if-then-else statements. what am i doing wrong?

What exactly is the problem? I.e., in what situations does your code fail?
 
Since:

a) You haven't posted what problem you;re having
b) We don't have the classes you are using
c) You posted in the WRONG FORUM
d) You have one post

Please try again

Edit: Wasn't this just in OT 😕
 
Back
Top