Welcome to Westonci.ca, where finding answers to your questions is made simple by our community of experts. Explore in-depth answers to your questions from a knowledgeable community of experts across different fields. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.
Sagot :
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 (without tax)
Subtotal = count * 9.99
#This calculates the total (with tax)
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:
https://brainly.com/question/14839980
We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. We hope you found this helpful. Feel free to come back anytime for more accurate answers and updated information. We're glad you visited Westonci.ca. Return anytime for updated answers from our knowledgeable team.