Question
Construct a structure chart, as well as a flowchart and pseudocode, for the following problem. Assume that each input record contains a taxpayer’s name, the value of a personal property belonging to the taxpayer, and a code defining the type of of personal property owned. Each type of property is taxed at a unique rate. The codes, property types, and tax rates follow:
Code property type tax rate
1 bike 2 percent of value
2 car 4 percent of value
3 truck 5 percent of value
Your program is to compute the tax for each property and to output a line specifying the taxpayer’s name, value of property, and tax. The program should output counts of the numbers of bikes, cars and trucks for which taxes are computed, with appropriate labels. Include a report heading and column headings, as well as a page number on every page, with 55 detail lines per page. Also include an initial IF and a modular design. Output an error message if the input contains an invalid code value. Assume a code of 0 indicates the end of the input file.
Code property type tax rate
1 bike 2 percent of value
2 car 4 percent of value
3 truck 5 percent of value
Your program is to compute the tax for each property and to output a line specifying the taxpayer’s name, value of property, and tax. The program should output counts of the numbers of bikes, cars and trucks for which taxes are computed, with appropriate labels. Include a report heading and column headings, as well as a page number on every page, with 55 detail lines per page. Also include an initial IF and a modular design. Output an error message if the input contains an invalid code value. Assume a code of 0 indicates the end of the input file.
Answers
Related Questions
• 2. Construct a data dictionary and draw a hierarchy chart and flowchart or pseudocode for a progra...
I must write Analysis, IPOChart, Hierarchy Chart, Flowchart, GUI Design,
Pseudocode, and Test Case...
SECTION D – PROBLEM SOLVING AND PROGRAM DESIGN
Problem solving:
You are required to:
1. Develop an a...
Adnan’s design team receives information about the problem they’ll be addressing with the app they’r...