Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Heikki Topi, Jeffrey A Hoffer, Ramesh Venkataraman

13th Edition

0134773659, 978-0134773650

More Books

Students also viewed these Databases questions

Question

3. What information does a bank reconciliation include?

Answered: 1 week ago

Question

Explain the need for remedial basic skills training programs

Answered: 1 week ago

Question

Describe a typical interpersonal skills training program

Answered: 1 week ago