CH#3 (pseudocode & Python code) A retail company must file a monthly sales tax r
ID: 3626658 • Letter: C
Question
CH#3 (pseudocode & Python code)A retail company must file a monthly sales tax report listing the total sales for the month and the amount of state and county sales tax collected. The state sales tax rate is 4 percent and the county sales tax rate is 2 percent. Write a program that asks the user to enter the total sales for the month. The application should calculate and display the following:
The amount of county sales tax
The amount of state sales tax
The total sales tax (county plus state)
Explanation / Answer
here you go #include #include using namespace std; int main() { const double total = 32905.65; double salesTax = total*(.04); double countyTax = total*(.02); double productSales =total-salesTax-countyTax; double totalTax = salesTax+countyTax; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.