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 dollar sign '$' and the week's total distributed amount left justified with no excess leading zeros as dollars, a decimal 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 123-45-0001 $300.00 890-12-3456 $500.00 $300.00 123-45-0002 2 $600.00 July 23 1 $500.00 August 27 Sample Input Sample Output

FINANCIAL ACCOUNTING
10th Edition
ISBN:9781259964947
Author:Libby
Publisher:Libby
Chapter1: Financial Statements And Business Decisions
Section: Chapter Questions
Problem 1Q
icon
Related questions
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 dollar sign '$' and the week's total distributed amount left justified
with no excess leading zeros as dollars, a decimal 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
123-45-0001 $300.00
890-12-3456
$500.00
$300.00
123-45-0002
2 $600.00 July 23
1 $500.00 August 27
Sample Input
Sample Output
Transcribed Image Text: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 dollar sign '$' and the week's total distributed amount left justified with no excess leading zeros as dollars, a decimal 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 123-45-0001 $300.00 890-12-3456 $500.00 $300.00 123-45-0002 2 $600.00 July 23 1 $500.00 August 27 Sample Input Sample Output
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
FINANCIAL ACCOUNTING
FINANCIAL ACCOUNTING
Accounting
ISBN:
9781259964947
Author:
Libby
Publisher:
MCG
Accounting
Accounting
Accounting
ISBN:
9781337272094
Author:
WARREN, Carl S., Reeve, James M., Duchac, Jonathan E.
Publisher:
Cengage Learning,
Accounting Information Systems
Accounting Information Systems
Accounting
ISBN:
9781337619202
Author:
Hall, James A.
Publisher:
Cengage Learning,
Horngren's Cost Accounting: A Managerial Emphasis…
Horngren's Cost Accounting: A Managerial Emphasis…
Accounting
ISBN:
9780134475585
Author:
Srikant M. Datar, Madhav V. Rajan
Publisher:
PEARSON
Intermediate Accounting
Intermediate Accounting
Accounting
ISBN:
9781259722660
Author:
J. David Spiceland, Mark W. Nelson, Wayne M Thomas
Publisher:
McGraw-Hill Education
Financial and Managerial Accounting
Financial and Managerial Accounting
Accounting
ISBN:
9781259726705
Author:
John J Wild, Ken W. Shaw, Barbara Chiappetta Fundamental Accounting Principles
Publisher:
McGraw-Hill Education