Question: LAB EXERCISE #3: Use Switch statement to take an integer called season, and then used this integer in a Switch statement for different cases. The
LAB EXERCISE #3:
Use Switch statement to take an integer called season, and then used this integer in a Switch statement for different cases.
The season integer value matches the case and then the statement of that particular case will be printed.
For value 1 the brand is "Winter"
For value 2 the brand is "Spring"
For value 3 the brand is "Summer"
For value 4 the brand is "Autumn"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
