Paul,
Your right my message was rather arrogant, wasnt it...
I guess I'm arrogant because I took the time in class to listen to the instructor, take notes, and read my text books etc..
There was no internet forums, etc at the time to assit me.
I would think that if this problem has been assigned, then the basics have been covered in the class. So she should be ready to write some code. If Jessica would just show a little effort, and do the basics she might be able to come up with some code. Then I would glad to advise.
A traffic ligh is very basic. It's like they made traffic lights so they could have this assignment.
The true goal of education is not to train like a rat, or dog, but to teach problem solving. When Jessica is sprung out on the real world she will have to solve problems that she never encountered in school.
She is being tained in problem solving. You learn by doing.
Regards, Mike