© 2026 Hashnode
Have you controlled a bulb with an on-and-off switch? You might even have played with it before. Imagine the logic behind it when you press it and it switches on the bulb or you use the switch to switch it off. Another case is if there's no switch, w...
