plz help

2. A traffic light has only three different colors; Red, Yellow, and Green. Each color allows just one car's operation; Stop, Start, Move. Write a C++ program that tell the car's driver the correct operation for each traffic color. For example: if the color is red, then the correct operation is stop . If the user insert undefined color, the program tell him that this color is nor correct input
o Meaningful variable declaration with suitable data type
o Prompt statement for telling the driver to insert a value of traffic_color variable
o Read the value of traffic_color variable
o Nested-if-statement structure with correct logical expressions
What problem are you having understanding the requirements?
we don't do homework for people. we will help you but you will have to start off on your own. put some code that you've written already and then we will help.
Topic archived. No new replies allowed.