0

1,hi i need to create a program that will repeat the following 14 times.it needs to provide keyboard input that takes in hours worked in a day.after the 14 time it needs to show the hours worked.

2,the rate of pay is 6 pounds 50 pence. it needs to provide the gross pay on screen for those two weeks.

3,it needs to provide their gross pay for one year assuming they get the same every two weeks.

4,it needs to provide the yearly net pay taking off 20% tax & 5% national insurance

if anyone can help me out with this i would be very gratefull, i am a total beginner and this is for the course i am on and am really struggling#cheers john

```
#include "stdafx.h"
#include "iostream"
using namespace std;
int main(void)
float fTotal=0;
float fHoursworked=0;
float fPay=6.5;
float cYear=26;
cout <<"please enter the your hours worked today\n";
for (int idays = 0);idays;<14;idays;+=1)
}
cin >> fHoursworked;
fTotal += fHoursworked;
cout <<"the total number of hours worked is"<<fTotal<<"\n";
fTotal = fTotal*fPay;
cout <<"the total number of hours worked is"<<fTotal<<"\n";
fTotal= fTotal* cYear;
cout<<"the total number of hours worked is"<<cYear<<"\n";
return 0;
```

this is where i'm at lots of errors can't work it out