Problem 3 Tax Relief (continued) For each taxpayer, output the Social Security Number (exactly as input), two spaces, a dollar sign ' $ ' and the check amount left justified with no leading zeros as dollars, a decimal point, and two digits of cents. Then for each week for which checks are to be distributed, output a summary line reporting the number of checks (no leading space), two spaces, a dryllar sign ' $ ' and the week's total distributed amount left justified with no excess leading zeros as dollars, a cecimal point, and two digits of cents, one space and the week exactly as listed in Table 3.2. List the weeks in the same order as Table 3.2. 123-45-0001,1,40100,8200 890-12-3456,4,98910,24182 123-45-0002,4,6000,904 Sample Input Sample Output 123-45-0001,$300.00 890-12-3456,$500.00 123-45-0002,$300.00 2,$600.00 July 23 1,$500.00 August 27

Mathematics For Machine Technology
8th Edition
ISBN:9781337798310
Author:Peterson, John.
Publisher:Peterson, John.
Chapter34: Customary Micrometers
Section: Chapter Questions
Problem 5A
Question

Problem 3 Tax Relief (continued) For each taxpayer, output the Social Security Number (exactly as input), two spaces, a dollar sign ' $ ' and the check amount left justified with no leading zeros as dollars, a decimal point, and two digits of cents. Then for each week for which checks are to be distributed, output a summary line reporting the number of checks (no leading space), two spaces, a dryllar sign ' $ ' and the week's total distributed amount left justified with no excess leading zeros as dollars, a cecimal point, and two digits of cents, one space and the week exactly as listed in Table 3.2. List the weeks in the same order as Table 3.2. 123-45-0001,1,40100,8200 890-12-3456,4,98910,24182 123-45-0002,4,6000,904 Sample Input Sample Output 123-45-0001,$300.00 890-12-3456,$500.00 123-45-0002,$300.00 2,$600.00 July 23 1,$500.00 August 27

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Intermediate Algebra
Intermediate Algebra
Algebra
ISBN:
9780998625720
Author:
Lynn Marecek
Publisher:
OpenStax College
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell