Dr java - robot karel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kash09
    New Member
    • Feb 2012
    • 1

    Dr java - robot karel

    Hey, im having trouble coding the flasher. I need to turn the flasher on and off. Struggling with it. Please help!

    NEED TO USED AN IF STATEMENT:


    Code:
    private static void flasherOn(){
          Flasher f3;
          if( flasherOff(f3));
          turnOn();
          }
    How do i fix this?!
    Last edited by Rabbit; Feb 21 '12, 04:27 AM. Reason: Please use code tags when posting code.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Which part exactly isn't working? What happens when you run your code and what do you expect to happen instead?

    Comment

    Working...