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]
2 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]2 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
Sorting and filtering are two ways to blank data
madreJ [45]
It’s two ways to analyze data
6 0
3 years ago
Files containing ____ are available from a variety of sources.
alexandr402 [8]
Important things maybe. I am in Graphic design so I know little
6 0
3 years ago
Hich is an aspect of spatial-level design?
Tresset [83]

The answer is perspective, because you need a point of view (perspective) in order to make a design, a great design/

4 0
3 years ago
Read 2 more answers
When a machine is having issues, an IT Support Specialist has to file an RMA, or Return Merchandise Authorization form, with the
melamori03 [73]

Answer:

The answer is "Option b"

Explanation:

This method is also known as the model is continuously developed, evaluated, applied and enhanced. It enables firms to manage transactions with its all-out returns, they can be used to calculate the final 7 digits of the Online charge level, and the wrong option can be described as follows:

  • In option a, It first find then arranging all the data.  
  • In option c, It provides essential updates and saves into the file.
  • In option d, It is an ideal plan for a lifetime operation.
5 0
2 years ago
Read 2 more answers
Viruses embed themselves into the code of software; they are harmless until?
dybincka [34]

Until one becomes mutated

6 0
3 years ago
Other questions:
  • Wendy Patel is entering college and plans to take the necessary classes to obtain a degree in architecture. Research the program
    12·1 answer
  • Software that people commonly use in the workplace to make their lives easier is called
    5·1 answer
  • Why are high-quality transformers wound with large diameter wire?
    8·1 answer
  • Hat is the purpose of the domain name?
    7·2 answers
  • write a program to update the rate by increasing 20% from sequential data file "items.dat" that store item name.rate and quantit
    15·1 answer
  • A business that helps people find jobs for a fee
    12·1 answer
  • List three social implications of the wider range of piracy​
    15·1 answer
  • Which source would provide the best way to find valid information about climate change
    8·1 answer
  • Without using parentheses, enter a formula in cell F4 that
    11·1 answer
  • What are the small squares that appear in the corners and in the middle of the sides of a selected object's border called?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!