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
1 Resposta
0
Thanks a lot. Managed to get it to work :)
Also good to know I wasn't too far off