Q : Write a C program that displays the recommended actions depending on the color of a traffic light using the switch statement.
Solution :
void main (void)
{
char colour;
Roll | Name | City |
---|---|---|
101 | Sona | Vns |
102 | Amit | Alld |
103 | Sumi | Alld |
104 | Rakesh | Vns |
105 | Jyoti | alld |