View the step-by-step solution to:

Construct a structure chart, as well as a flowchart and pseudocode, for the following problem.

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.

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question