You found an exciting summer job for five weeks. It pays a set amount per hour (for example, $15.50). Suppose the total tax you pay on your summer job income is 16%. After paying the taxes, you spend 12% of your net income (income after taxes) to buy new clothes and other accessories for the next school year and 1% on buying school supplies. After buying clothes and school supplies, you use 30% of the remaining money to buy savings bonds. For each whole dollar, you spend to purchase savings bonds (rounded down), your parents contribute $0.50 of additional savings bonds for you. Write a program that prompts the user to enter the pay rate per hour and the number of hours you worked each week. The program then outputs the following: a. Your income before and after taxes from your summer job. b. The money you spend on clothes and other accessories. c. The money you spend on school supplies. d. The money you spend to buy savings bonds. e. The money your parents spend to buy additional savings bonds for you. f. The remaining income after expenses and investments.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter13: Decision Making Under Uncertainty
Section13.4: Decision Trees
Problem 5P
icon
Related questions
Question
You found an exciting summer job for five weeks. It
pays a set amount per hour (for example, $15.50).
Suppose the total tax you pay on your summer job
income is 16%. After paying the taxes, you spend
12% of your net income (income after taxes) to buy
new clothes and other accessories for the next school
year and 1% on buying school supplies. After buying
clothes and school supplies, you use 30% of the
remaining money to buy savings bonds. For each
whole dollar, you spend to purchase savings bonds
(rounded down), your parents contribute $0.50 of
additional savings bonds for you.
Write a program that prompts the user to enter the
pay rate per hour and the number of hours you
worked each week. The program then outputs the
following:
a. Your income before and after taxes from your
summer job.
b. The money you spend on clothes and other
accessories.
c. The money you spend on school supplies.
d. The money you spend to buy savings bonds.
e. The money your parents spend to buy
additional savings bonds for you.
f. The remaining income after expenses and
investments.
Transcribed Image Text:You found an exciting summer job for five weeks. It pays a set amount per hour (for example, $15.50). Suppose the total tax you pay on your summer job income is 16%. After paying the taxes, you spend 12% of your net income (income after taxes) to buy new clothes and other accessories for the next school year and 1% on buying school supplies. After buying clothes and school supplies, you use 30% of the remaining money to buy savings bonds. For each whole dollar, you spend to purchase savings bonds (rounded down), your parents contribute $0.50 of additional savings bonds for you. Write a program that prompts the user to enter the pay rate per hour and the number of hours you worked each week. The program then outputs the following: a. Your income before and after taxes from your summer job. b. The money you spend on clothes and other accessories. c. The money you spend on school supplies. d. The money you spend to buy savings bonds. e. The money your parents spend to buy additional savings bonds for you. f. The remaining income after expenses and investments.
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Probability Problems
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
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage