Question: Im looking for a simple c program. The output should look like this: Purpose The pupose of this assignment is to give you practice with
Im looking for a simple c program.

The output should look like this:

Purpose The pupose of this assignment is to give you practice with writing more if statements and also introduce to while loops Problem There is a rhyme for deciphering the weather lights on the old Hancock building in Boston: Steady blue, clear view Flashing blue, clouds due Steady red, storms ahead Flashing red, snow instead Let us simulate this with a simple program. Have the user two numbers one for colors blue or red, and another to indicate whether the light is steady or flashing. Based on the user's input you must display one of the four messages above. Light color 1 for Blue, 2 for Red Light steadiness: 1 for Steady, 2 for Flashing We also want the user to keep going until they decide to stop. To do this you MUST use a while loop. Inputs Once a set of inputs are processed for light color & steadiness and a message is displayed, prompt the user to continue - if the user enters "y for continuing start all over again by prompting for light color and steadiness. Otherwise stop the program. Purpose The pupose of this assignment is to give you practice with writing more if statements and also introduce to while loops Problem There is a rhyme for deciphering the weather lights on the old Hancock building in Boston: Steady blue, clear view Flashing blue, clouds due Steady red, storms ahead Flashing red, snow instead Let us simulate this with a simple program. Have the user two numbers one for colors blue or red, and another to indicate whether the light is steady or flashing. Based on the user's input you must display one of the four messages above. Light color 1 for Blue, 2 for Red Light steadiness: 1 for Steady, 2 for Flashing We also want the user to keep going until they decide to stop. To do this you MUST use a while loop. Inputs Once a set of inputs are processed for light color & steadiness and a message is displayed, prompt the user to continue - if the user enters "y for continuing start all over again by prompting for light color and steadiness. Otherwise stop the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
