Given a char variable called gender write c statements to


Given a char variable called gender, write C++ statements to output "Male" if gender contains upper or lower case M, "Female" if it contains upper or lower case F, or "Invalid Gender" if it contains anything else. Use if / else if statements.

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: Given a char variable called gender write c statements to
Reference No:- TGS0608131

Expected delivery within 24 Hours