Solution: Making Decisions
Explore how to implement decision-making in C# by writing conditional statements that respond to various mood values. Learn to use if, else if, and else constructs effectively to control program flow and produce customized console output based on user input or variables.
We'll cover the following...
We'll cover the following...
Problem
This exercise makes decisions based on your mood. Write code for a console application that meets the requirements listed below.
- Make conditions on a
stringvariable namedmood. - If the value of
moodisGood, writeI