I need to create a structure related to an overtime pay calculator and define the variables needed within the structure to do those calculations.
Then define and create a base class using the same variables that may serve the same function as the structure
This is as far as I understand.
Help!
// Week 6 Checkpoint Overtime Pay Structures
#include <iostream>
using std::cout;
using std::endl;
using std::cin;
struct OVERTIME
{
double rate;
double hours_worked;
double ot_rate;
};
OVERTIME nov =
{
25.51,
80,
1.5
};