Question: PLEASE READ Hello, we are working on writing and understanding simple C++ programs. I need help understanding the following question so that I can do


PLEASE READ Hello, we are working on writing and understanding simple C++ programs. I need help understanding the following question so that I can do problems like it on my own. Please include explanations. Thank you! d) What will the following programs, A and B output if the gender is m? /Program A //Prog B char gender; cout> gender; 11m is entered if(gender-'m, 11 gender =:M') else if(gender-"f, Il gender-F) else if(gender'm' gender'M) cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
