We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I am unable to write the logic for the statement "whenever a switch is pressed the LED has to glow.If the switch is pressed for the 2nd time the next led should glow and so on".Please help me..:-(
I am unable to write the logic for the statement "whenever a switch is pressed the LED has to glow.If the switch is pressed for the 2nd time the next led should glow and so on".
if switch pressed, led_number++ illuminate led_number LEDs