Screen Placement and Formatting Lab #15a- Disposable Income This program will allow the user to READ in DATA for each quarter of the vear, and then calculate their disposable income. Don't forget a banner. Use the following DATA cards to input data into your program. DATA "Personal Income", 15000, 15000, 15000, 15000 Acitm DATA "Income Taxes", 4200, 4000, 3800, 3600 DATA "Rent/Mortgage", 1400, 1400, 1400, 1400 DATA "Food Costs", 1100, 985, 1000, 1250 DATA "Entertainment", 800, 925, 889, 750 DATA "Home Insurance", 200, 200, 200, 200 DATA "Car Insurance", 600, 600, 600, 600 DATA "Retirement Fund", 1000, 1100, 1200, 1000 DATA "Car Payment", 750, 750, 750, 750 DATA "Personal Loans", 400, 400, 400, 400 Sbimetion Imame DATA "Savings", 1325, 1500, 1485, 1555 • You should use a loop to READ "most" of the DATA. • Hint: You will need to use a sum. • Calculate the total expenses for each quarter. • Calculate the Disposable Income, which is your Personal Income minus the total of your expenses. • Print the report. o You must use both the TAB(n) command, and the Format Strin-

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section: Chapter Questions
Problem 9PP
icon
Related questions
Question
Screen Placement and Formatting
Lab #15a - Disposable Income
This program will allow the user to READ in DATA for each quarter of the
vear, and then calculate their disposable income. Don't forget a banner.
Use the following DATA cards to input data into your program.
DATA "Personal Income", 15000, 15000, 15000, 15000 Aditon
DATA "Income Taxes", 4200, 4000, 3800, 3600
DATA "Rent/Mortgage", 1400, 1400, 1400, 1400
DATA "Food Costs", 1100, 985, 1000, 1250
DATA "Entertainment", 800, 925, 889, 750
DATA "Home Insurance", 200, 200, 200, 200
DATA "Car Insurance", 600, 600, 600, 600
DATA "Retirement Fund", 1000, 1100, 1200, 1000
DATA "Car Payment", 750, 750, 750, 750
DATA "Personal Loans", 400, 400, 400, 400
DATA "Savings", 1325, 1500, 1485, 1555
Sbmetion
Imane
• You should use a loop to READ "most" of the DATA.
• Hint: You will need to use a sum.
• Calculate the total expenses for each quarter.
• Calculate the Disposable Income, which is your Personal Income
minus the total of your expenses.
• Print the report.
o You must use both the TAB(n) command, and the Format String
with the PRINT USING command to create the report.
Transcribed Image Text:Screen Placement and Formatting Lab #15a - Disposable Income This program will allow the user to READ in DATA for each quarter of the vear, and then calculate their disposable income. Don't forget a banner. Use the following DATA cards to input data into your program. DATA "Personal Income", 15000, 15000, 15000, 15000 Aditon DATA "Income Taxes", 4200, 4000, 3800, 3600 DATA "Rent/Mortgage", 1400, 1400, 1400, 1400 DATA "Food Costs", 1100, 985, 1000, 1250 DATA "Entertainment", 800, 925, 889, 750 DATA "Home Insurance", 200, 200, 200, 200 DATA "Car Insurance", 600, 600, 600, 600 DATA "Retirement Fund", 1000, 1100, 1200, 1000 DATA "Car Payment", 750, 750, 750, 750 DATA "Personal Loans", 400, 400, 400, 400 DATA "Savings", 1325, 1500, 1485, 1555 Sbmetion Imane • You should use a loop to READ "most" of the DATA. • Hint: You will need to use a sum. • Calculate the total expenses for each quarter. • Calculate the Disposable Income, which is your Personal Income minus the total of your expenses. • Print the report. o You must use both the TAB(n) command, and the Format String with the PRINT USING command to create the report.
Output Section:
1st Qtr.
2nd Qtr.
3rd Qtr.
4th Qtr.
Blue
$15,000.00 $15,000.00 $15,000.00 $15,000.00.
Personal Income
Income Taxes
$3,600.00
$4,200.00
$1,400.00 $1,400.00 $1,400.00 $1,400.00
$1,100.00
$4,000.00
$3,800.00
Rent/Mortgage
$985.00 $1,000.00 $1,250.00
$889.00
$200.00
Food Costs
Entertainment
$800.00
$925.00
$750.00
Red
Home Insurance
$200.00
$200.00
$200.00
Car Insurance
$600.00
$600.00
$600.00
$600.00
$1,100.00 $1,200.00
$750.00
$400.00
$1,000.00
S750.00
Retirement Fund
$1,000.00
$750.00
S750.00
Car Payment
Personal Loans
$400.00
$400.00
$1,325.00
$400.00
$1,500.00 $1,485.00
$1,555.00
Savings
Total Expenses
$11,775.00 s11,860.00 $11,724.00 S11,505.00
$3,225.00
S3,140.00 $3,276.00 $3,495.00 Gicen
Disposable Income
Transcribed Image Text:Output Section: 1st Qtr. 2nd Qtr. 3rd Qtr. 4th Qtr. Blue $15,000.00 $15,000.00 $15,000.00 $15,000.00. Personal Income Income Taxes $3,600.00 $4,200.00 $1,400.00 $1,400.00 $1,400.00 $1,400.00 $1,100.00 $4,000.00 $3,800.00 Rent/Mortgage $985.00 $1,000.00 $1,250.00 $889.00 $200.00 Food Costs Entertainment $800.00 $925.00 $750.00 Red Home Insurance $200.00 $200.00 $200.00 Car Insurance $600.00 $600.00 $600.00 $600.00 $1,100.00 $1,200.00 $750.00 $400.00 $1,000.00 S750.00 Retirement Fund $1,000.00 $750.00 S750.00 Car Payment Personal Loans $400.00 $400.00 $1,325.00 $400.00 $1,500.00 $1,485.00 $1,555.00 Savings Total Expenses $11,775.00 s11,860.00 $11,724.00 S11,505.00 $3,225.00 S3,140.00 $3,276.00 $3,495.00 Gicen Disposable Income
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Types of Expressions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage