An employee in your company earns $32,500 annually. Write a program that determines and displays the amount of his/her gross pay for each pay period, if he/she is paid twice a month (24 pay checks per year) and if he/she is paid bi-weekly (26 check per year).
have posted this with my code but i keep getting an error. help would be appreciated
int main()
class FrankVoelker_program1{
double Pay = 32500,
bimth = Pay / 24,
biweek = Pay / 26;
cout << "Annual earnings: $" << Pay << end1;
cout << "Bimonthly earnings: $" << bimth << endl;
cout << "Biweekly earnings: $" << biweek << endl;
23:1: error: expected initializer before 'class'

Respuesta :

' << john.pay << endl;

  cout << '' Bimonthly earnings:

' << john.bimth << endl;

  cout << '' Biweekly earnings:

' << john.biweek << endl;

}