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

Lab5C: 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 1 :
If you would like to stop this program, say "please": please
Program complete
Sample output 2 :
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 2 :
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": nuh-uh
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
Lab 5 C: Say "please" White a program that prints

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 Programming Questions!