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, 21.06.2019 18:00
Which virus-infecting components are email messages prone to carry? one of the problems associated with the use of email communication is that email messages are prone to carry virus-infecting .
Answers: 3
question
Computers and Technology, 21.06.2019 18:10
For each of the following claims, determine whether they are true or false. justify your determination (show your work). if the claim is false, state the correct asymptotic relationship as o, θ, or ω. unless otherwise specified, lg is log2.(a) (b) (c) (d) (e) (f) (g) (h) (i) (j)n+1 =22n =2n =1 =ln2 n =n2 +2n−4 =33n = 2n+1 =√n = 10100 =o(n4) o(2n)θ(2n+7 ) o(1/n)θ(lg2 n) ω(n2 )θ(9n ) θ(2n lg n )o(lg n) θ(1)
Answers: 1
question
Computers and Technology, 22.06.2019 07:30
In the film "epic 2015," epic is the name for:
Answers: 3
question
Computers and Technology, 22.06.2019 21:10
Dameas communication challenge is due to which factor
Answers: 2
You know the right answer?
Write the pseudocode to solve the following problem: Assume that each input record contains a taxpa...
Questions
question
Mathematics, 27.03.2020 21:23
question
Chemistry, 27.03.2020 21:24
Questions on the website: 13722363