Given the fractional discount rate is 0.5 and the tax rate is0.20. Answer the fo
ID: 3609695 • Letter: G
Question
Given the fractional discount rate is 0.5 and the tax rate is0.20. Answer the following questions.
a. For what variables are values read asinput?
b. List the output variables.
c. What constants areused?
d. Simulate the execution of thisproblem. Assume that the following values are read as input for thefirst four variables named.
name
Mr. Red Snow
item
sandals
qty
100 pairs
price
$10 per pair
Total cost
discount
subtotal
taxes
Final bill
What values should the computer provide as output?
name
Mr. Red Snow
item
sandals
qty
100 pairs
price
$10 per pair
Total cost
discount
subtotal
taxes
Final bill
Explanation / Answer
a. Name, Item, qty, price b. Total Cost, Subtotal, Final Bill c. Discount and Tax Rate Simulation: Total Cost: $1,000.00 Subtotal: $500.00 Final Bill: $600.00
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.