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
Snezhnost [94]
3 years ago
12

A local pizza shop is selling a large pizza for $9.99. Given the number of pizzas to order as input, output the subtotal for the

pizzas, and then output the total after applying a sales tax of 6%. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('Subtotal: ${:.2f}'.format(yourValue))
Computers and Technology
1 answer:
storchak [24]3 years ago
8 0

The program requires a sequence control structure

The sequence control structure implies that, the program does not include any conditional statement, and it does not include iterative or repetitive operations.

The complete code in Python, where comments are used to explain each line is as follows:

#This gets input for the number of pizza from the user

count = int(input("Number of Pizza: "))

#This calculates the subtotal (<em>without tax</em>)

Subtotal = count * 9.99

#This calculates the total (<em>with tax</em>)

Total = Subtotal * 1.06

#This prints the subtotal

print('Subtotal: ${:.2f}'.format(Subtotal))

#This prints the total

print('Total: ${:.2f}'.format(Total))

At the end of the program, the total and the subtotal are calculated and printed.

See attachment for sample run

Read more about similar programs at:

brainly.com/question/14839980

You might be interested in
Damage to which portion of the limbic system results in loss of memory of recent events and difficulty committing anything new t
Vera_Pavlovna [14]

Answer:

Hippocampus.

Explanation:

There are two parts of the limbic system. They are the frontal part which is the amygdala and the posterior part which is the hippocampus.

The hippocampus is an extension of the temporal part  of the cerebral cortex which is a plastic-like structure that can be easily damaged by stimuli. It is packed with densed neurons and forms an S-shape at the extension of the temporal part.

It is responsible for learning and memory and damage to it can result to memory loss of recently learnt information.

8 0
3 years ago
How do you think computers have helped to improve documentation, support and services within the healthcare industry.
AfilCa [17]
Before the use of technology such as computers, information was documented through papers separated in folders. This was a very long and complicated process as people would have to find information by hand, sorting through countless documents. Now, it is much easier and neater to keep information. It can be as easy as digitally searching for someone's name and the computer will sort through countless documents, finding the one you need almost instantly. It is also much less wasteful and safe, as before computers, the use of paper was the only way to permanently keep information, also making documents vulnerable to being lost or stolen.
4 0
3 years ago
list the six enternal parts or peripherals of a computer system and identify which are output and which are input devices?
inn [45]
There are many peripheral devices but heres 4 external output ones: monitor, speakers, plotter, and printer. Here are also 4 peripheral input devices: mouse, keyboard, mousepad, and joystick.
3 0
4 years ago
Read 2 more answers
1. What does VolP stand for? *
kenny6666 [7]
Answer : c

Explanation:
6 0
3 years ago
Read 2 more answers
If you are using a sprite for your MakeCode Arcade game, which code block
xeze [42]

Answer:

set mySprite block

Explanation:

BRAINLIEST?

8 0
2 years ago
Read 2 more answers
Other questions:
  • In one to two sentences, explain how to save a new document.
    15·2 answers
  • You are managing a global news website which has a very high traffic. To improve the performance, you redesigned the application
    10·1 answer
  • What is the key function of a sales team?
    13·1 answer
  • Select the two statements below that are true. Press on the info button for
    13·1 answer
  • Have you heard about Gold Opinions?<br><br> It is a new product that just came out.
    6·1 answer
  • Potterheadler varmı burada​
    10·2 answers
  • Which tags do you use to write the header and items of an ordered list on a web page?
    14·1 answer
  • A _____ is an Access database object that allows you to arrange the fields of a record in any layout so you can enter, edit, and
    6·1 answer
  • Designing a medium to large network requires a combination of technologies and there isn't one "right way." Think about the tech
    9·1 answer
  • Please give answer before explanation
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!