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, 23.06.2019 18:40
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
question
Computers and Technology, 23.06.2019 21:30
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
When creating a field in a table, you must set the to determine what type of data the field can store. field property data type field type data property
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
Mathematics, 26.02.2021 18:40
question
Mathematics, 26.02.2021 18:40
question
Mathematics, 26.02.2021 18:40
question
Mathematics, 26.02.2021 18:40
question
Biology, 26.02.2021 18:40
question
Mathematics, 26.02.2021 18:40
Questions on the website: 13722361