subject

Write the pseudocode to solve 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 personal property owned.
Each type of property is taxed at a unique rate.
The codes, property taxes, 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 Complete this program using the MODULAR format.
The program should have the following sections:
declarations(MAIN module), housekeeping, detail and finish module.
In the declarations section, declare all variables that will be needed and call the housekeeping, detail and finish module. In the housekeeping section create an input of your first record (this should be all that is in this section). The detail section of your program is to compute the tax for each property and to output a line specifying the taxpayer's name, value of property and computed tax for each record. The program should output counts of the number of bikes, cars, and trucks for which taxes are computed in your finish module. Assume that a code of 0 (zero) indicates the end of the input file. To help with this, after your first INPUT of your records, in the Main module, Include an initial IF statement to check to make sure the Code is not zero. If it is zero, the program should display a message such as "No data to process", If it is not zero then the program should go to the WHILE loop to process the instructions. In your detail portion of your program, you should determine the tax of the property and create the counter for the individual properties so that you can count the number of bikes, cars and trucks and the program goes through the loop process. Output "Invalid code has been entered" as an error message if the input contains an invalid code value.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
What is one way in which tablets differ from laptops and notebooks? tablets are designed for touch-based interaction. tablets are designed to be used as desktops. tablets are designed for input via a keyboard and mouse. tablets are designed to be larger than laptops.
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
If i uninstall nba 2k 19 from my ps4 will my career be gone forever?
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
Explain the importance of html in web page designing in 20 sentences..
Answers: 1
You know the right answer?
Write the pseudocode to solve the following problem: Assume that each input record contains a taxpa...
Questions
question
Arts, 16.12.2020 22:30
question
Mathematics, 16.12.2020 22:30
question
Arts, 16.12.2020 22:30
question
Mathematics, 16.12.2020 22:30
question
Health, 16.12.2020 22:30
question
Physics, 16.12.2020 22:30
question
Mathematics, 16.12.2020 22:30
question
Mathematics, 16.12.2020 22:30
question
Mathematics, 16.12.2020 22:30
question
Mathematics, 16.12.2020 22:30
question
Mathematics, 16.12.2020 22:30
Questions on the website: 13722363