subject

Using C++ Your program should accept y or n for input to all questions, and does not need to handle invalid inputs.

First, your program should ask the user if they want pizza. If not, your program should exit without creating and saving any image.

However, if the user does want pizza, your program should ask about toppings, first tomato sauce, then cheese, then pepperoni, then jalapeno, then onion. (Make sure you spell the toppings correctly, because the unit tests are are checking for exact matches!) For each topping, the user can respond y or n.

Finally, your program should save the pizza image to pizza. bmp, and tell the user the filename so they can find it.

Here is an example where the user wants a pizza with all the toppings:

Welcome to PizzaMaker 2.0!
Would you like a pizza?
(y/n): y
Would you like tomato sauce?
(y/n): y
Would you like cheese with that?
(y/n): y
Would you like pepperoni?
(y/n): y
Would you like jalapeno with that?
(y/n): y
Would you like onion?
(y/n): y
Great! Your pizza is at pizza. bmp. Enjoy!

Note: You must add toppings in the specified order here. This is called a "spec" (for specification), and it's important to implement exactly to the "spec" so that the customer knows what they are getting.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print?
Answers: 3
question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 23.06.2019 19:50
Which feature is selected to practice and save the timing of a presentation
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
You know the right answer?
Using C++ Your program should accept y or n for input to all questions, and does not need to handl...
Questions
Questions on the website: 13722363