Draw a flowchart and write pseudocode to represent the logic of the following programs
Program requests a color (Blue or Red) and a mode (Steady or Flashing) as input
color = input("Enter the color (BLUE or RED): ")
mode = input("Enter the mode (STEADY or FLASHING): ")
color = color.upper()
mode = mode.upper()
result = ""
# Analyze responses and display weather forecast.
if color == "BLUE":
if mode == "STEADY":
result = "Clear View."
else: # mode is FLASHING
result = "Clouds Due."
else: # color is RED
if mode == "STEADY":
result = "Rain Ahead."
else: # mode is FLASHING
result = "Snow Ahead."
print("The weather forecast is", result)