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 08:40
1. the program must provide following functions to extract some statistics. note that the data_list parameter specified in these functions may be the same for all functions or different for different functions—that is your choice. a skeleton file is provided on mirmir. a) open_file()prompts the user to enter a year number for the data file. the program will check whether the year is between 1990 and 2015 (both inclusive). if year number is valid, the program will try to open data file with file name ‘year.txt’, where is the year. appropriate error message should be shown if the data file cannot be opened or if the year number is invalid. this function will loop until it receives proper input and successfully opens the file. it returns a file pointer and year. i. hint: use string concatenation to construct the file name b) read_file(fp)has one parameter, a file pointer read. this function returns a list of your choosing containing data you need for other parts of this project. c) find_average(data_list) takes a list of data (of some organization of your choosing) and returns the average salary. the function does not print anything. hints: i. this is not the average of the last column of data. it is not mathematically valid to find an average by finding the average of averages—for example, in this case there are many more in the lowest category than in the highest category. ii. how many wage earners are considered in finding the average (denominator)
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
I'll mark brainliest if answered right! with which feature or menu option of a word processing program can you make an image like this? you can get this image using the option of a word processing program.
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. a company is currently focusing on creating specific management goals for itself. which level of maturity is the company demonstrating under the sse_ccm framework? a. performed informally b. planned and tracked c. quantitatively controlled d. well-defined e. continuously improving
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
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
Social Studies, 29.12.2020 01:20
question
Mathematics, 29.12.2020 01:20
question
Health, 29.12.2020 01:20
question
Mathematics, 29.12.2020 01:20
question
Mathematics, 29.12.2020 01:20