# Answered Essay: hhello, I need help completing the output table, flowchart,desk check, psuedocode, and variable list. Thanks.

hhello, I need help completing the output table, flowchart,desk check, psuedocode, and variable list. Thanks.

Given a simple problem, design a solution algorithm that uses arithmetic expressions and built-in functions. Scenario Your goal is to solve the following simple programming exercise. You have been contracted by a local antique store to design an algorithm determining the total purchases and sales tax. According to the store owner, the user will need to see the subtotal, the sales tax amount, and the total purchase amount. A customer is purchasing four items from the antique store. Design an algorithm where the user will enter the price of each of the four items. The algorithm will determine the subtotal, the sales tax, and the total purchase amount. Assume the sales tax is 7%. Be sure to think about the logic and design first (input-process-output (IPO) chart, flowchart, and pseudocode). Display all output using currency formatting. Advanced (optional): Use a constant for the 7% sales tax. (1) Variable List With Data Type List all the variables you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on. (2) IPO Model List the inputs, any processes, calculations, and outputs. Use the same valid variable names you used in Step 1. (3) Flowchart Use MS Visio to create a flowchart. Paste the flowchart here, or attach as separate document. Use the same valid variable names you used in Step 1. (4) Pseudocode or C# Code Describe your solution using pseudocode or actual C# code. Use the same valid variable names you selected in Step 1. (5) Desk-Check Desk-check your solution by selecting appropriate test data. Test data: List the values for your test data. Expected output: What is the expected output of your program?

(1) Below is the variable list for the problem:

1.amount1 -> Double

2.amount2 -> Double

3.amount3 -> Double

4.amount4 -> Double

5.tax -> Integer =7 # Constant for sales tax

6.subTotal ->double #total without deducting tax

7.taxAmt ->double #Tax Amount

8.total ->double #Grand Total

(2) IPO Model:

Inputs Process Outputs
subTotal,tax Tax Calculation taxAmt

(3) Flow Chart is attached:

(4) Below is the algorithm(pseudocode), variables names are as per above list:

Read inputs from user in amount1,amount2,amount3,amount4
create an array A for inputs
Initialise subTotal to 0 and tax to 7
for each element i of array A
subTotal -> subTotal + A[i];
end for
print “Your subTotal is \$” + subTotal;
taxAmt -> (subTotal*tax)/100;
print “Sales Tax on your subTotal is 7% and Tax Amount is \$” + taxAmt;
total -> subTotal + taxAmt;
print “Grand Total: \$” + total;

(5) Desk Check:

Test data:

amount1=73.5

amount2=62.3

amount3=50.0

amount4=100.0

tax=7

Steps Variables Output
Step Numbers amount1 amount2 amount3 amount4 subTotal tax taxAmt total
1.Add amounts 73.5 62.3 50.0 100.0 283.8 7 283.8
2.calculate tax 73.5 62.3 50.0 100.0 283.8 7 19.86 19.86
3.Calculate Grand Total 73.5 62.3 50.0 100.0 283.8 7 19.86 303.66 303.6
Pages (550 words)
Approximate price: -

Help Me Write My Essay - Reasons:

Best Online Essay Writing Service

We strive to give our customers the best online essay writing experience. We Make sure essays are submitted on time and all the instructions are followed.

Our Writers are Experienced and Professional

Our essay writing service is founded on professional writers who are on stand by to help you any time.

Free Revision Fo all Essays

Sometimes you may require our writers to add on a point to make your essay as customised as possible, we will give you unlimited times to do this. And we will do it for free.

Timely Essay(s)

We understand the frustrations that comes with late essays and our writers are extra careful to not violate this term. Our support team is always engauging our writers to help you have your essay ahead of time.

Customised Essays &100% Confidential

Our Online writing Service has zero torelance for plagiarised papers. We have plagiarism checking tool that generate plagiarism reports just to make sure you are satisfied.

Try it now!

## Calculate the price of your order

Total price:
\$0.00

How it works?

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

HOW OUR ONLINE ESSAY WRITING SERVICE WORKS

Let us write that nagging essay.

By clicking on the "PLACE ORDER" button, tell us your requires. Be precise for an accurate customised essay. You may also upload any reading materials where applicable.

Pick A & Writer

Our ordering form will provide you with a list of writers and their feedbacks. At step 2, its time select a writer. Our online agents are on stand by to help you just in case.

Editing (OUR PART)

At this stage, our editor will go through your essay and make sure your writer did meet all the instructions.