Okay, so I don’t want you to do my homework for me, but I have lost this final assignment a bit and I need all my help. Learning programming is tough enough, but making it online is almost impossible for me ... Now, to get to the program, I'm going to insert what I still have. This includes mostly // comments and what I have written so far. If you can help me figure out where all the errors are and how to complete the task, I will be very grateful. As I said, I do not want you to do my homework for me (this is my last), but any constructive criticism is welcome. This is my last assignment for this class, and it should be tomorrow (Sunday to midnight, Arizona time).
This assignment:
Examine the following situation:
Your company Datamax, Inc. is in the process of automating its payment systems. Your manager asked you to create a program that calculates overtime pay for all employees. Your program should take into account the salary of employees, the total number of hours worked and hours worked more than 40 per week, and then provide results that may be useful and understandable to company management.
Compile your program using the following help information and code diagram in Appendix D (included in the code section).
Submit the project as an attachment, including code and output.
History of the company:
- Three employees: Mark, John and Mary.
- The end user should receive a request for three specific types of input-name, hours worked and hourly wages.
- Calculate overtime if entry exceeds 40 hours per week.
- .
- 1 № 1 .
- 2 № 1 .
- 3-6 1 2, .
:
:
:
#include "stdafx.h"
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;
class CEmployee
{
public:
void ImplementCalculations(string EmployeeName, double hours, double wage);
void DisplayEmployInformation(void);
void Addsomethingup (CEmployee, CEmployee, CEmployee);
string EmployeeName ;
int hours ;
int overtime_hours ;
int iTotal_hours ;
int iTotal_OvertimeHours ;
float wage ;
float basepay ;
float overtime_pay ;
float overtime_extra ;
float iTotal_salaries ;
float iIndividualSalary ;
};
int main()
{ system("cls");
cout << "Welcome to the Employee Pay Center";
std::cout << "Please enter Employee Name: ";
std::cin >> EmployeeName;
std::cout << "Please enter Total Hours for (EmployeeName): ";
std::cin >> hours;
std::cout << "Please enter Base Pay for(EmployeeName): ";
std::cin >> basepay;
}
else
{
}
}
void CEmployee::DisplayEmployInformation();
{
}
void CEmployee::Addsomethingup (CEmployee Employ1, CEmployee Employ2)
{
}