We are learning about object oriented programming this week, and the instructor has told us get personal with microwaves. I'm amused.
If Door Switch State = Closed AND Microwave Emitter = On then Turn on Interior Light
If Time = 0:00 Sound Buzzer/Beep Three Times
If Open then Stop Microwave, Turn on Light
If Closed then Wait for Input from Control Panel