Your goal is to solve the following simple programming


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 ListWith 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.

Inputs

Process (calculations)

Outputs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


(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?

Step

Variables (write variable names in first line below)

Output

Enter step numbers

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: Your goal is to solve the following simple programming
Reference No:- TGS01031914

Expected delivery within 24 Hours