Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

you found an exciting summer job for five weeks it pays $15.50 per hour suppose

ID: 667783 • Letter: Y

Question

you found an exciting summer job for five weeks it pays $15.50 per hour suppose that the total tax you pay on your summer job income is 14% after paying the taxes you spend 10% of your net income to buy new clothes accessories and for the next school year and 1% to buy school supplies you use 25% of the savings bonds your parents spend $0.50 to buy additional savings bonds for you. write a program that prompts the user to enter the pay rate for an 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.

Explanation / Answer

please rate - thanks

I've done only what's here-let me know if you need help with the rest

#include <iostream>
#include <iomanip>
using namespace std;
int main()
{double pay;
double tax=14/100.;
double clothes=10/100.;
double supplies=1/100.;
double bonds=25/100.;
double income,taxes,clothesetc,school,savingsbonds,parents;
int hours=0,h,i;
cout<<"Enter your salary: ";
cin>>pay;
cout<<"Enter hours worked each week ";
for(i=1;i<=5;i++)
   {cout<<"week "<<i<<": ";
   cin>>h;
   hours+=h;
   }
income=hours*pay;
cout<<"income before taxes: $"<<setprecision(2)<<fixed<<income<<endl;
taxes=income*tax;
income-=taxes;
cout<<"income after taxes: $"<<setprecision(2)<<fixed<<income<<endl;
clothesetc=income*clothes;
cout<<"The money you spend on clothes and other accessories $"
     <<setprecision(2)<<fixed<<clothesetc<<endl;
income-=clothesetc;
school=income*supplies;
income-=school;
cout<<"The money you spend on school supplies $"<<setprecision(2)<<fixed<<school<<endl;
savingsbonds=income*bonds;
cout<<"The money you spend on saving bonds $"<<setprecision(2)<<fixed<<savingsbonds<<endl;
parents=savingsbonds/2.;
cout<<"The money your parents spend on saving bonds $"<<setprecision(2)<<fixed<<parents<<endl;
system("pause");
return 0;
}