I need help work wil not compile
this is what I have to do.
Write a program that calculates and prints the monthly paycheck for an employee. The net pay is calculated after taking the following deductions (define these as constant variables):
Federal Income Tax: 15%
State Tax: 3.5%
Social Security Tax: 5.75%
Medicare/Medicaid Tax: 2.75%
Pension Plan: 5%
Health Insurance: $75.00
#include <iostream>
//using namespace std;
int main()
{
char employee;
double gross;
double federal;
double state;
double ss;
double med;
double pension;
double health;
double net;
cout << "Enter Gross Amount : 3575" << endl;
cin >> gross;
cout << "Enter Employee Name : Doe" << endl;
cin >> employee;
gross = (federal + state + ss + med + pension + health + net);
cout << "Gross " << gross << endl;
federal = (gross * .15);
cout << "Federal Tax" << federal << endl;
state = (gross * .035);
cout << "State Tax" << state << endl;
ss = (gross * .0575);
cout << "Social Security Tax" << ss << endl;
med = (gross * .0275);
cout << "Medicare/Medicaid Tax" << med << endl;
pension = (gross * .05);
cout << "Pension Plan" << pension << endl;
health = 75.00;
cout << " Health Insurance" << health << endl;
net = (gross - (federal + state + ss + med + pension + health));
cout << "Net Pay" << net << endl;
cin<< "Press q and then Enter to quit-->";
char dummy;
cin>>dummy; //Wait for input
return 0;
}