programming engineering c++

2/2 Exercise# 2: Summer Job You found an exciti ng summer job for five weeks. Suppose that the total tax you pay on your summ 2/2 Exercise# 2: Summer Job You found an exciti ng summer job for five weeks. 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 tobuy savings bounds, your parents spend $0.50 to buy additional savings bounds for you. Write a program for this problem. Sample input/ output Enter the number of days in each week: 34 41 29 43 38 Enter the rate per hour: 15.5 The number of worked hours is: 185 The income before the tax is: 2867.5 The tax is: 401.45 The income after detecting the tax is: 2466.05 The money spent on cloths is: 246.605 The money spent on supplies is: 24.6605 The income after buying the cloths and the supplies is: 2194.78 The money spent on saving bounds is: 548.696 The money spent on parents saving bounds is: 274.348



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *