1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
spayn [35]
3 years ago
13

Using C++

Computers and Technology
1 answer:
jarptica [38.1K]3 years ago
4 0

Answer:

K

Explanation:

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.

You might be interested in
Jake and Sarah have an assignment of writing the history of American Independence as a team. They divided their work in half and
IrinaK [193]

Answer:

he needs it to be a run-on sentence

Explanation:

Run on sentence is basically 2 sentences combined without a period

3 0
3 years ago
Whats the main idea in Teenagers are rewriting the rules of the news???
melomori [17]
I can’t click on the article for some reason?
6 0
3 years ago
Coordinates that measure how far a point is from the origin are _______________. A. Relative coordinates B. Absolute coordinates
S_A_V [24]
The correct answer is B
4 0
4 years ago
Read 2 more answers
Why might the government give a drug company a patent
castortr0y [4]
Because it is non-illegal and is all natural
5 0
3 years ago
Read 2 more answers
There is usually a positive side and a negative side to each technology improvement. Select a technology you use every day and c
VARVARA [1.3K]
Social media is one of the most useful sites in technology it helps get in touch with your colleagues and friends.It helps you also to research on political news and also things that contribute to technology that enhances your knowledge.But it is also bad if used for a long time it can make one to be a fad because of using it for too much.
8 0
4 years ago
Other questions:
  • ____ was the first-generation cellular telephone system.​ a. ​Advanced Mobile Phone Service (AMPS) b. ​Global System for Mobile
    12·2 answers
  • When using an online media source, students should ensure the information is
    13·2 answers
  • To define constructors and member functions outside of a class's original scope, the operator can be used.
    11·1 answer
  • Write a program that reads from user (i) an hour between 1 to 12 and (ii) number of hours ahead. The program should print the ti
    15·1 answer
  • If you implement a Wireless LAN (WLAN) to support connectivity for laptops in the Workstation Domain, which domain does WLAN fal
    5·1 answer
  • In DTP, a good rule of thumb is to use as many special effects as you need to make your documents look interesting.
    5·1 answer
  • What is one difference between IDLE and Eclipse?
    7·2 answers
  • Which is an example of a natural separation of visitors from employees?
    15·1 answer
  • What is smarta Art ? ​
    10·1 answer
  • What changes might you make to a circuit in order to slow the flow of electrical energy?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!