Share Your Source Code or Article

Do you have source code, articles, tutorials, web links, and books to share? You can write your own content here. You can even have your own blog.

Submit now...

Database Programming Made Easy

This tutorial will teach you step by step on how to connect and manipulate database. If you'd like to suggest a tutorial please write a comment at the bottom of this article.

Read more...

Hire Us to Do Your Work

Do you want a customized system? Do you want to setup your own website to do business? Then we are here to help you in your programming needs.

Read more...

Search

payroll problem writing the code for two
No replies
User offline. Last seen 42 weeks 1 day ago. Offline
Joined: 11/18/2009


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




DAir3600

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Step by Step Java Tutorial

In this tutorial you will learn how to program with Java. It has a rich of information to be educated well with Java.

Read more...

Do You Have Question?

Do you have any question related to computer programming? Visit our forum and post new topic on the category you like. Be gentle when asking a question.

Ask now...

Point of Sale

Point of Sale is very useful especially for supermarkets or restaurants. I have included a barcode scanner in this program. Please check it out.

Read more...