Question: Write a program in c++ that does the following. 1) Prompts the user to have a conversation of indeterminate length with the old deaf professor

Write a program in c++ that does the following.

1) Prompts the user to have a conversation of indeterminate length with the old deaf professor (statements entered into console by user)

2) The conversation starts with the prof saying "HEY KID!"

3) If the user says something with any lowercase letters, the prof responds with "SPEAK UP, KID!""

4) If the user says something with NO lowercase letters, the prof responds with "NO, NOT SINCE 1946!"

5) The first time the user says "GOODBYE!"" the prof says LEAVING SO SOON?

6) If the user says "GOODBYE!" a second time consecutively the prof says "LATER SKATER!" and the program ends. (if the user says something other than GOODBYE! after the first GOODBYE!, the count resets and it's like GOODBYE! was never said)

7) User must be able to enter a full sentence (not just a single word)

8) All statements by the prof must end with a new line / endl

is ther esomeone who can help with this

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!