Assignment Plan and code a program to do the following. You found an exciting summer job for 5 weeks. It pays $15.50 per hour. You will input the number of hours per week that you worked and then compute your total earnings. You must pay taxes of 14%. After paying taxes, you will spend 20% of your money on clothes and 5% on school supplies. After buying clothes and supplies, you will use 25% of the remaining money for savings. Input Your 3 initials (3 characters) and the hours you worked for each of the 5 weeks. Use the following numbers of hours for your test: 25, 30, 20, 23, 22 Calculations Gross pay Is the rate of pay times the sum of all the hours you worked. Use CONSTANTS for each of the following rates: 14% of the gross earnings 20% of earnings after taxes 5% of earnings after taxes 25% of earnings after taxes and expenses Тах гate Clothing School supplies Savings Output Output your 3 initials, total hours worked, gross earnings, taxes, net earnings after taxes, clothing expense, supplies expense, amount going to savings and amount left to spend. Output must be aligned to the right as shown with 2 decimals in all numbers. Be sure your output file contains user prompts and what was entered by the user in addition to the results of your program processing. Sample output: АВС Initials Total Hours Worked Gross Earnings 120.00 $1860.00 $260.40 $1599.60 Taxes Paid Net Earnings Expenses Clothes School Supplies $319.92 $79.98 $1199.70 Amount Remaining Savings $299.93 Amount left to spend $899.77

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 19PE
icon
Related questions
Question
100%

In C++ please create this program, thanks so much 

Assignment
Plan and code a program to do the following. You found an exciting summer job for 5 weeks. It pays $15.50 per hour.
You will input the number of hours per week that you worked and then compute your total earnings. You must pay taxes
of 14%. After paying taxes, you will spend 20% of your money on clothes and 5% on school supplies. After buying clothes
and supplies, you will use 25% of the remaining money for savings.
Input
Your 3 initials (3 characters) and the hours you worked for each of the 5 weeks. Use the following numbers of hours for
your test: 25, 30, 20, 23, 22
Calculations
Gross pay Is the rate of pay times the sum of all the hours you worked. Use CONSTANTS for each of the following rates:
Таx гate
Clothing
School supplies
Savings
14% of the gross earnings
20% of earnings after taxes
5% of earnings after taxes
25% of earnings after taxes and expenses
Output
Output your 3 initials, total hours worked, gross earnings, taxes, net earnings after taxes, clothing expense, supplies
expense, amount going to savings and amount left to spend. Output must be aligned to the right as shown with 2
decimals in all numbers. Be sure your output file contains user prompts and what was entered by the user in addition to
the results of your program processing. Sample output:
Initials
Total Hours Worked
Gross Earnings
АВС
120.00
$1860.00
$260.40
$1599.60
Taxes Paid
Net Earnings
Expenses
Clothes
$319.92
$79.98
School Supplies
Amount Remaining
Savings
$1199.70
$299.93
Amount left to spend
$899.77
Transcribed Image Text:Assignment Plan and code a program to do the following. You found an exciting summer job for 5 weeks. It pays $15.50 per hour. You will input the number of hours per week that you worked and then compute your total earnings. You must pay taxes of 14%. After paying taxes, you will spend 20% of your money on clothes and 5% on school supplies. After buying clothes and supplies, you will use 25% of the remaining money for savings. Input Your 3 initials (3 characters) and the hours you worked for each of the 5 weeks. Use the following numbers of hours for your test: 25, 30, 20, 23, 22 Calculations Gross pay Is the rate of pay times the sum of all the hours you worked. Use CONSTANTS for each of the following rates: Таx гate Clothing School supplies Savings 14% of the gross earnings 20% of earnings after taxes 5% of earnings after taxes 25% of earnings after taxes and expenses Output Output your 3 initials, total hours worked, gross earnings, taxes, net earnings after taxes, clothing expense, supplies expense, amount going to savings and amount left to spend. Output must be aligned to the right as shown with 2 decimals in all numbers. Be sure your output file contains user prompts and what was entered by the user in addition to the results of your program processing. Sample output: Initials Total Hours Worked Gross Earnings АВС 120.00 $1860.00 $260.40 $1599.60 Taxes Paid Net Earnings Expenses Clothes $319.92 $79.98 School Supplies Amount Remaining Savings $1199.70 $299.93 Amount left to spend $899.77
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Program on Numbers
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++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT