Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Problem #1 write pseudocode for a program that calculates and displays the total

ID: 3780963 • Letter: P

Question

Problem #1 write pseudocode for a program that calculates and displays the total retail price of an item sold at a store. The total retail price of a sale item is the price of an item before sales tax plus the amount of sales tax on the item. The program will need to get the sales tax rate and the price of the item before sales tax from the user in order to calculate the total retail price of the item. The program should output (display) the calculated amount of sales tax on the item and the total calculated total retail price of the item.

Explanation / Answer

pseudocode:

print "enter total amount of the sale"

get total sale_amount

print "enter total sale tax rate"

get total sale_tax_rate

total_retailsale=(sale_tax_rate * sale_amount) + sale_amount

print "total amount of sale: $" sale_amount

print "sale tax: $" sale_tax_rate * sale_amount

print "total sale: $" total_retailsale

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote