Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You found an exciting summer job for five weeks with pay rate of 15.5$ per an hour. Suppose that the total tax you pay on
You found an exciting summer job for five weeks with pay rate of 15.5$ per an hour. Suppose that the total tax you pay on your summer job income is 14%. After paying the tax, you spend 10% of your net income to buy new clothes and 1% to buy school supplies for the next school year. After buying clothes and school supplies, you use 25% of the remaining money to buy savings bounds. For each dollar you spend to buy savings bounds, your parents spend $0.50 to buy additional savings bounds for you. Write a program that prompts the user to enter the pay rate for an hour and the number of hours you worked for each week one of the five weeks. The program outputs similar information to the given sample of input/output: Sample input/output: Enter the number of hours worked in each day: 34 41 29 43 38 The total number of worked hours is 185 hours The income before the tax is 2867.5$ The tax is 401.45$ The income after the tax is 2466.85$ The money spent on clothes is 246.605$ The money supplies on clothes is 24.6685$ The total remaining money 1s 2194.78$ The money spent on saving bounds is 548.696$ The parents money spent on additional saving bounds is 274.348$
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started