Write a program in C language by using switch statement for switch light with two buttons that are connected to two lights. The first situation you can chose either to switch ON one of these lights...


Write a program in C language by<br>using switch statement for switch<br>light<br>with two buttons that are connected<br>to two lights. The first situation you<br>can chose either to<br>switch ON one of these lights<br>separately and printing out a<br>message saying that, the light is<br>switch ON. The second situation you<br>can switch ON the two lights at the<br>same time and the<br>output message will say the 1st and<br>the 2nd light are ON.<br>Using [ switch statement<br>and printf and scanf]<br>Don't use bool<br>button<br>

Extracted text: Write a program in C language by using switch statement for switch light with two buttons that are connected to two lights. The first situation you can chose either to switch ON one of these lights separately and printing out a message saying that, the light is switch ON. The second situation you can switch ON the two lights at the same time and the output message will say the 1st and the 2nd light are ON. Using [ switch statement and printf and scanf] Don't use bool button

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here