payroll problem writing the code for two

I have a Lab assignment in C++ Problem Solving dealing with payroll. It seems easy enough. I have done a PAC chart, a structure chart, and the flow charts for each module. I am now in the process of designing the program and writing the code. We were told to write prototype statements above main. I have 3 functions for this problem; get employee info, calculate, and display final pay. I forgot to mention what the problem will need to do. I have two types of employees; salaried and hourly. I also have to calculate pay for overtime. So, I have these variable names; Salaried employee, Hourly employee, Salaried Rate, Hourly Rate, and the number of hours worked by the hourly employee. I need help in the prototype statements above main where I declare the types of parameters. I was wondering if someone could give me a clue on how to write the code or a sample of somthing close to compare the problem

Add new comment