5.9. (Part 1) Monthly Sales Tax - Python

in #programming7 years ago

Starting out with Python, Third Edition, Tony Gaddis
Chapter 5
Programming Challenges

  1. Monthly Sales Tax

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 5 percent and the county sales tax rate is 2.5 percent. Write a program that asks the user to enter the total sales for the month. From this figure, 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)

Starting out with Python. Third Edition. Tony Gaddis.

Happy Steeming Everyone! :)

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 65702.61
ETH 3485.24
USDT 1.00
SBD 2.51