Question: Write a program that asks the user Do you want to use this program? (y/n) If the user says y then the program terminates If

Write a program that asks the user Do you want to use this program? (y/n) If the user says y then the program terminates If the user says n then the program asks Are you really sure you do not want to use this program? (y/n) If the user says n it terminates, otherwise it prints again the message Are you really really sure you do not want to use this program? (y/n) And so on, every time adding one more really.

write the code in C++

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!