List the inputs any processes calculations and outputs

Assignment Help Data Structure & Algorithms
Reference no: EM13761834

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

 

 

 

 

 

 

 

 

 

 

 

Reference no: EM13761834

Questions Cloud

Ethical dilemma related problem : Select a nursing theory that could have guided you in making a decision about the care of this patient.
What are the key characteristics of a work package : 1. What are two primary benefits of developing a comprehensive project scope analysis?2. What are the key characteristics of a work package?3. What is the chief purpose of configuration management? In your opinion, why has configuration management be..
Technical architecture document : Quality assurance process and procedures to ensure the functionality and performance requirements are met Testing procedures to ensure the application is operational at all levels (program, network, systems, and interfaces) Implementation steps an..
Present the pros and cons or benefit analysis : Develop 3 proposals for your development strategy, which include outsourcing (buy), insourcing (make), or a combination of both. Present the pros and cons or benefit analysis for each of the 3 proposals
List the inputs any processes calculations and outputs : 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. List the inputs, any processes, calculations, and outputs
What issues should the systems analysts and programmers : What issues should the systems analysts and programmers discuss before they proceed and as a systems analyst on this project, how would you describe your primary responsibilities, and how could you contribute to the quality of the finished product?
Write a paper on ethical dilemmas permeate criminal justice : Write a case study on Ethical dilemmas permeate the criminal justice. At every level, in each segment of the system, people are exercising discretion that will impact on the fate of an individual and security of the community.
A biblical view of business ethics : Review three or four key principles that are important in understanding a Biblical view of business ethics. Give examples of how you have (or might in the future) apply these principles. word limit 150 (5 principles: • Have a long-term perspective • ..
Significance of proteins, carbohydrates, fats and fiber : The significance of proteins, carbohydrates, fats and fiber in a healthy diet.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Explaining effective customer relationships and loyalty

Paws'n Tails is an online pet shop that wants to influence what customers buy and builkd effective customer relationships and loyalty.

  Write the algorithm and find out the time complexity

Write the algorithm and find out the time complexity for the algorithm (in terms of n and m). Note that given two locations (x1, y1) and (x2, y2), distance between them can be calculated by the subsequent formula: ? (x2 - x1)2 + (y2 - y1)2.

  Explain sorting algorithm which is optimal in cost

Explain a sorting algorithm which is optimal with respect to this cost model and uses O(n) space. That is, time used by algorithm should exactly match lower bound

  Creating algorithm to implement function

Create an Algorithm to implement the given function and explain how the required task can be achieved in a step by step process.

  What is the machine run time in second for sorting array

Write computer program to implement this algorithm and demonstrate the results and what is the machine run time in second for sorting array A?

  Efficient algorithm for computing single-source

Give an efficient algorithm for computing single-source shortest paths in an undirected graph G for which edge weights are 1 or 2. Describe all data structures needed to support your algorithm. What is the runtime of your algorithm?

  Explaining playout delay algorithm

Let the adaptive playout delay algorithm. Show through simple example that adjusting playout delay at beginning of each talk.

  Algorithm to keep track of sufficient information

Your algorithm must keep track of sufficient information so that, for any computer Cb it is possible to retrieve in O(n) time a sequence of communications by which Cb could have become infected.

  1 introductionyou will create a c program to evaluate

1 introductionyou will create a c program to evaluate expressions combining set union set intersection and parentheses.

  1 n vehicles occupy squares 1 1 through n 1 ie the bottom

1. n vehicles occupy squares 1 1 through n 1 i.e. the bottom row of an n times n grid. the vehicles must be moved to

  The lims to support multiple clients to query and update

the lims to support multiple clients to query and update the library inventory using a clientserver model. lims

  Cuckoo hashing

Using Cuckoo hashing, hash the following keys using the (h1,h2) pairs shown. A: 2,0 B: 0,0 C: 4,1 D: 0,1 E: 2,3 Using Hopscotch hashing with a max hop of 4, hash the following keys. A: 6 B: 7 C: 9 D: 7 E: 6 F: 7 G: 8

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd