0

Help with replacing argument in function with user input

Hi everyone. I'm trying to write a C++ code that prompts a user to say whether they like animals or not to receive a response. I wanted to do it as an argument with a user's char input (y or n) replacing the function parameter but can't get it to work this way. Any help would be appreciated. https://code.sololearn.com/ccBx8SzhfWA4/?ref=app

24th Jul 2019, 5:47 PM
Akairyuu
Akairyuu - avatar
1 Resposta
0
Thanks a lot. Managed to get it to work :) Also good to know I wasn't too far off
24th Jul 2019, 6:30 PM
Akairyuu
Akairyuu - avatar