I'm suppose to make it ask for employee name, then ask for sick days, then for it to give the total sick days, then give the average sick days.
This is what I have so far, any help will really be appreciated. I know it's not very difficult but it is for me.
include iostreamusing namespace std;
int main()
{
int employ1, employ2, employ3, employ4,
average;
int days1, days2, days3, days4,
total;
cout << "Enter the name of employee #1: "; cin >> employ1; cout << "Enter sick days for employee #1: "; cin >> days1; cout << "Enter the name of employee #2: "; cin >> employ2; cout << "Enter sick days for employee #2: "; cin >> days2; cout << "Enter the name of employee #3: "; cin >> employ3; cout << "Enter sick days for employee #3: "; cin >> days3; cout << "Enter the name of employee #4: "; cin >> employ4; cout << "Enter sick days for employee #4: "; cin >> days4; total = days1 + days2 + days3 + days4; average = total / 4; cout << "Employee: " << days1 << endl; cout << "Employee: " << days2 << endl; cout << "Employee: " << days3 << endl; cout << "Employee: " << days4 << endl; cout << "Total sick days: " << total << endl; return 0;
}