By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,790 Members | 1,201 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,790 IT Pros & Developers. It's quick & easy.

Dr java - robot karel

P: 1
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:


Expand|Select|Wrap|Line Numbers
  1. private static void flasherOn(){
  2.       Flasher f3;
  3.       if( flasherOff(f3));
  4.       turnOn();
  5.       }
How do i fix this?!
Feb 21 '12 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
Which part exactly isn't working? What happens when you run your code and what do you expect to happen instead?
Feb 21 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.