X1198: Active listening C++

Create a program that asks the user "In one word, how do you feel?\n" and then gathers the user's response.

When the user enters either good or great the program should respond with "I'm glad!\n"

However, for any other response, the program should repeat asking and getting the user's response.

Complete the code within the brackets ({ }) below.

Your Answer:

Reset

Practice a different C++ exercise

Feedback

Your feedback will appear here when you check your answer.