Question: In C program #include You found an exciting summer job for five weeks. Suppose that the total tax you pay on your summer job income

In C program

#include

You found an exciting summer job for five weeks.

Suppose that the total tax you pay on your summer job income is 14%.

After paying the taxes, you spend:

  • You spend 10% of your net income to buy new clothes and other accessories for the next school year
  • You 1% to buy school supplies
  • AFTER buying clothes and school supplies, you save 25% of the remaining money
  • For each dollar you save, your parents add $0.50 additional savings

Write a program that prompts the user to enter the pay rate for an hour and the number of hours you worked each week.

For Example, If you earned $10.00/hour and worked 10 hours per week.... the program should output the following:

|----------|--------------------------------------------------| | $ 10.00 | Hourly Rate | | 50.00 | Total Hours Worked | |----------|--------------------------------------------------| | $ 500.00 | Total Income before tax | | $ 430.00 | Net Income | | $ 43.00 | Money spent on clothes and other accessories | | $ 4.30 | Money spent on school supplies | | $ 95.67 | Money spent on savings | | $ 47.84 | Money spent by parents on additional savings | |----------|--------------------------------------------------|

REQUIREMENT: Use printf format descriptors to format the rows of the table.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!