Share
Explore BrainMass

# Miracle C Code & Flow Chart for Tax Calculation on Stores

1. What is the input of the problem?
(Purchase Total of \$125.00 for each store)
? Del Mar - 7.25%
? Encinitas - 7.5%
? La Jolla - 7.75%
_____________________________________________________________________
2. What is the output of the problem?
The sales tax amount for each store of the 125.00 Purchase for each.
_____________________________________________________________________
1. Breaks down to 1a. Are there three different inputs (total sales) for each store or just one?
Just one each equaling \$125.00 based on a different tax bracket.
_____________________________________________________________________
1b. Is there error checking involved for each input?
No there is no error checking involved.
_____________________________________________________________________
2. Breaks down to 2a. What level of information should the user receive?
What amount of tax did each store charge based on a \$125.00 Purchase.
_____________________________________________________________________
2b. Should the user receive how much tax was calculated for each store as well as the total?
Just the tax for each store based on the \$125.00 amount purchased.
_____________________________________________________________________
3. Should each store only require a purchase amount of only 125.00 with the given taxes for each store?
Yes each store just has a different tax but with the same dollar amount of the purchase of 125.00 for each store.

_____________________________________________________________________
I need a C program that will address the application requirements called out in this Service Request: "SR-kf-008, Tax Calculator"

Service Request SR-kf-008 Tax Calculator

Organization: Kudler Fine Foods
Locations: All
Requester: Harvey Stephens
Description of Request: Create a tax calculation program for Kudler stores.

Background of Request:
Some food items and all non-food items are subject to a statewide sales tax and local district taxes. Due to differences in district taxes, each store uses a different tax rate.

? Del Mar - 7.25%
? Encinitas - 7.5%
? La Jolla - 7.75%

Expected Results/Impact when completed:
C program that displays the sales tax amount for each store location for a purchase amount of \$125.00.

The deliverables for the assignment are as follows:

?A flow chart or pseudo code depicting the procedural flow of the program. If you choose to draw a flow chart, it should be contained within a Microsoft Word document. You may use any graphics tool, including Word itself, to draw the flow chart.

?The C source code file(s).

#### Solution Summary

The Miracle C code is attached along with executable and the flowchart in the Document file.

\$2.19