Question
Using COBOL Language IRS.txt William Smith 0008925000 ACE Products 0410000000 Jack Black 0001000000 Data Corp. 0550000000 Pete's Brother 0012560050 IRS informants are paid cash awards
Using COBOL Language IRS.txt William Smith 0008925000 ACE Products 0410000000 Jack Black 0001000000 Data Corp. 0550000000 Pete's Brother 0012560050
IRS informants are paid cash awards based on the value of the money recovered. If the information was specific enough to lead to a recovery, the informant receives 10 percent of the first $75,000, 5 percent of the next $25,000, and 1 percent of the remainder, up to a maximum award of $50,000. The IRS informant, Pete request that you write a program to read in the names of the taxpayer and the amounts recovered from the data file IRS.txt. Your program must generate a report that list the taxpayers name and amount recovered and the amount of the reward that Pete should receive. Pete would also like to know how many taxpayers he turn in and the total and average of the rewards.
IRS.txt format:
Taxpayers name columns 1 20
Recovered amount columns 21 30 (99999999V99)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started