Quote:
#define REGULAR_HOUR 125;
#define REGULAR_PAY 5580;
#define OVER_PAY 6500;
You should remove the trailing semicolons in preprocessor defines.
Better, you should get rid of preprocessor defines and use
enum
instead, e.g.
enum
{
REGULAR_HOUR = 125,
REGULAR_PAY = 5580,
OVER_PAY =6500
};
If you have a modern compiler you may also have a look at
scoped enumerations[
^].