Question: Lab 5 C: Say please White a program that prints the following message: If you would like to stop this program, say please. Afterwards, prompt
LabC: Say "please"
White a program that prints the following message:
If you would like to stop this program, say "please".
Afterwards, prompt the user for input. If the user enters "please", terminate the program. Otherwise,
print the message above and prompt the user to input again. The program should only terminate if the
user enters "please".
User input in bold.
Sample Output :
If you would like to stop this program, say "please": please
Program complete
Sample output :
If you would like to stop this program, say "please": pleAsE
If you would like to stop this program, say "please": Please
If you would like to stop this program, say "please": please
Program complete
Sample Output :
If you would like to stop this program, say "please": no
If you would like to stop this program, say "please": nah
If you would like to stop this program, say "please": nuhuh
If you would like to stop this program, say "please": ok fine
If you would like to stop this program, say "please": please
Proaram comslete
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
