Mini-exercise

A household light switch is another example of a state machine. Create an enumeration for a light that can switch .on and .off.

results matching ""

    No results matching ""