Develop a structure chart with a main module

Assignment Help Basic Computer Science
Reference no: EM1364674

Sales Tax Program

Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county tax. Assume the state sales tax is 4 percent (.04) and the county tax is 2 percent (.02). The program should display the amount of the purchase, the state sales tax, the county sales tax, the total sales tax, and the total of the sale (which is the sum of the amount of the purchase plus the total sales tax).

The objective of the assignment is to develop the program using modular design covered in Chapter 3 in addition to using the design techniques covered in Chapter 2.

Before starting Assignment 2, make sure you have studied and understand software requirements. You may want to do a "dry run" on paper using your own purchase amount. This will make sure that you understand the requirements.

(This assignment is a combination of Exercise # 6 on page 73 and Exercise # 2 on page 113.)

Use the "In the Spotlight" example shown on pages 84 to 88, which shows the use of modules in pseudocode, as a basis for you assignment. However, use appropriate module names. Do not use step(1), step(2) etc. used in the example. Make sure you understand the other examples "In the Spotlight" on pages 95-97, 100-103, and 105-108 which demonstrate the use of passing arguments/data between modules.

1) Develop a list of major steps to follow to get input, process, and output the desired information
2) Refine the list to include individual refined steps (algorithm).
3) Develop a structure (hierarchy) chart with a main module, submodules, the parameter variables, and reference in the reference variables in the parentheses as needed.
4) Write the pseudocode for each module of the structure chart.
5) Create the corresponding flowcharts.
6) Set up the hand trace chart to test the logic of your pseudocode.

The structure chart and flowcharts can be developed using Microsoft Word. There is an organization chart feature for the structure chart and a draw and flowchart feature also. Use the Microsoft Help to learn how to access and use these features.

Reference no: EM1364674

Questions Cloud

Frequent flier miles and asset classes : Explain how your position changes if the employer reports to the IRS the value of the employees' frequent-flyer mileage.
Journalist compromising national security : You're a journalist for an up-and-coming online news website. You are inadvertently given some information that you know would increase your website's popularity, but could potentially compromise national security.
Use sequential search algortithm to locate the number : These numbers should be stored in an array. Use the sequential search algortithm to locate the number entered by the user. If the number is in the array, the program should display a message.
Petty cash transactions for rockin gyrations : Suppose that on June 1, Rockin' Gyrations, a disc jockey service, creates a petty cash fund with an imprest balance of $500. During June, Michael Martell, fund custodian, signs the following petty cash tickets:
Develop a structure chart with a main module : Develop a structure (hierarchy) chart with a main module, submodules, the parameter variables, and reference in the reference variables in the parentheses as needed.
Capitalized asset cost and first year depreciation : Capitalized asset cost and first year depreciation, and identifying depreciation results that meet management objectives
Approach in marketing a strategy or strategies : In your opinion, would pre-service, point-of-service, or after-service activities be the most effective in approach in marketing a strategy or strategies to the organization's target customers.
Computing-journalizing payroll amounts : Compute Welch's gross pay, payroll deductions, and net pay for the full year 2012. Round all amounts to the nearest dollar. Compute United's total 2012 payroll expense for Welch.
Find companies that specialize in computer forensics : What needs clarified? it's plainly stated use google to find 3 companies that specialize in computer forensics of those 3 companies write 2 or 3 paragraphs comparing what each company does.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Creating cut-over plan for alternate processing site

Create cut-over plan for alternate processing site based on given below. Consider LAN for small 100-person business, Pixel Inc. Business occupies one floor in an office building.

  Compare five technologies for in-home internet access

Compare and contrast at least five technologies which are readily available for in-home internet access. You must consider practical as well as technical differences in your comparison.

  Calculate present value of future earnings

Why do we need to calculate the present value of future earnings? A company can invest $100,000 to develop a new system, or it can put that amount into a second best alternative investment getting 10 percent.

  What do you mean by ascii or ebcdic

What is ASCII or EBCDIC? What part do the aforementioned things play in hashing? What is the formula for the PPD? What does the numerator and denominator say about the potential performance issues of this metric?

  Implement a system for car dealership

Suppose that you are required to implement a system for a car dealership. The system needs to store information about each customer. This includes the customer's ID number, name, address and contact number.

  High-level descriptions of customer-s expectations

It needs to have high-level descriptions of the customer's expectations and the criteria for success. You need to describe why these are the best choices and why alternatives will not work as well.

  Importance of top management commitment

Discuss the importance of top management commitment and the development of standards for successful project management. Provide examples to illustrate the importance of these items.

  Explain two standard apis supported by jaxp

Explain two standard APIs supported by JAXP (Java API for XML processing) and give a comprison between two mechanism.

  People and organization responsible for bumping problems

Answer from the perspective of the airlines and from the perspective of the customers. What people, organization, and technology factors are responsible for excessive bumping problems?"

  Perform the usual operations on circle

You should be able to perform the usual operations on the circle, such as setting the radius, printing the radius, calculating and printing the area and circumference.

  Explaining laws dealing with computer crimes

Write and explain three recent laws dealing with computer crimes.

  Describing equivalence relation

Let X = Z × (Z {0}). Define the relation  on X by (x, y)  (z, t) ↔ xt = yz for every (x, y), (z, t) ∈ X. Show that this is an equivalence relation on X.

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