[Solved] CS/CE1337 PROJECT 1

$25

File Name: CS_CE1337__PROJECT_1.zip
File Size: 188.4 KB

SKU: [Solved] CS/CE1337 – PROJECT 1 Category: Tag:
5/5 - (1 vote)

Problem: You have been hired by a retail outlet to write a program that will calculate the monthly taxes owed to the state and county. The program should ask the user for the month (string) and year (integer) as well as the total amount of money collected for that month (float). Please note that the input to your program is not the total sales amount, but the total-collected (i.e. sales + taxes). Given that input, your program should calculate the state taxes as well as the county taxes paid by the customers. If the user of your program has more calculation to do, your program enable them repeat the above process until they indicate that there are no more calculations.

The state sales tax is 6 . 5% and the county sales tax is 2.75%. The amount entered by the user includes sales tax for both the state and the county. Taxes are applied at the same time to each item. If an item costs $1.00, the tax for that item would be 9.25 cents.

Output: All dollar amounts should be rounded to 2 decimal places. The program should output the month, year, total collected, sales, county sales tax, state sales tax and total sales tax. The total collected should equal the amount of sales plus the county tax plus the state tax. Please refer to the sample output below:

Total Collected: $ 12345.67
Sales: $ 11300.38
County Sales Tax: $ 310.76
State Sales Tax: $ 734.52
Total Sales Tax: $ 1045.28

Do you want to perform another calculation? (Y/N):

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CS/CE1337  PROJECT 1[Solved] CS/CE1337 PROJECT 1
$25