Loading

payroll problem writing the code for two

1 post / 0 new
Offline
Joined: 11/18/2009
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

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.