Question: C++ language Week005_HW002_0004.pdf by Cat 2004-) Please, by using a switch structure, write a C++ program that asks the user about his/her gender, then, outputs:
C++ languageWeek005_HW002_0004.pdf by Cat 2004-) Please, by using a switch structure, write a C++ program that asks the user about his/her gender, then, outputs: Male in case the received value is 'M', or Female in case the received value is F. or Invalid Gender in case the received value is something different AichFile
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
