HEY am having some trouble. I'm writing a stoplight controller program and the problem that am having is that during the execution at any random time must accept input from an external source. Am having problems getting this done
yeah thnx 4 tha reply. what I've basically done is that ive defined the different states for the stoplights and they change states after a certain time and display the state that its in. all of this is enclosed in a while loop, so that the program will repeat itself continuously. it must accept an input from the keyboard for no.