Help me(declare a char friend_sex.prompt the user to enter m if the friend is male and an f,if female.assign the value to friend | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me(declare a char friend_sex.prompt the user to enter m if the friend is male and an f,if female.assign the value to friend

sex then use two if statements; 1.if the friend is male,cout"if you see friend_name please ask him to call me." 2.if the friend is female,cout"if you see friend_name please ask her to call me."

30th Oct 2018, 10:00 AM
Ajiboye Mubarak
1 Answer
0
Please provide a link to your Code Playground code so we can help you troubleshoot the specific issues you are running into. The Code Playground should be relatively easy to find in the website version of SoloLearn, but if you are in the app version, it can be accessed via the curly braces, green circle with plus sign to add a new project, then select the project type. Looking forward.
30th Oct 2018, 11:39 AM
Janningā­
Janningā­ - avatar