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
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
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
In C++ please create this program, thanks so much
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images
Knowledge Booster
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.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education