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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started