Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# Variables to hold the prices of each item, the subtotal, # and the total. item 1 = 0 . 0 item 2 = 0

# Variables to hold the prices of each item, the subtotal,
# and the total.
item1=0.0
item2=0.0
item3=0.0
item4=0.0
item5=0.0
subtotal =0.0
tax =0.0
total =0.0
# Constant for the sales tax rate.
TAX_RATE =.13
# Get the price of each item.
# Calculate the subtotal for 5 items
subtotal = item1+ item2+ item3+ item4+ item5
# Calculate the sales tax.
# Calculate the total By Adding Subtotal and Tax
# Print the
Subtotal
Sales Tax:
Total:
BY USING PADRE
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions

Question

Understand the importance of reliability and validity

Answered: 1 week ago