Hi, i'm working on this assignment, and I can't figure out how to turn the char 'm' to a string called 'Male', of course i would need to do this for Female as well. Thanks in advance.
Oh, woops. Forget my last post. I think I misinterpreted where you needed to convert char to string.
You wanted to do the conversion for the output, right?
In that case, you can change the switch-case to output the string instead of setting the gender.
Oh, woops. Forget my last post. I think I misinterpreted where you needed to convert char to string.
You wanted to do the conversion for the output, right?
In that case, you can change the switch-case to output the string instead of setting the gender.
Hi, I tried it this way too. Do you see anything wrong? I am just wondering if my way would work too.