Program to track the hours an employee worked , C/C++ Programming

Description:

Create a program that allows the user to track the hours an employee worked in a week. How much the employee was paid and any extra hours worked (overtime pay).

Assume that there are 5 employees. They are all full-time and work 30 hours per week. Any extra hours worked within a week is considered overtime. No taxes or other deductions are taken out of the employee's pay.

The pay rate is $12.00 per hour, with the ability to make $24.00 per hour for overtime, with the max of 10 overtime hours allowed per week.

 The program should display the following:

Emplyoee's Name

Emplyoee's ID (numeric)

Hours Worked

Overtime Hours

Weekly Pay (Amount of Weekly paycheck)

Total Monthly Pay

The program should also allow for a search to be done that will output the employee's id and hours of overtime worked and overtime pay (monthly total).

The following should be in your code: Variables, data types, arithmetic operators, at least 2 methods, at least 1 array (but not limited in using different types of arrays), a for loop and if statement (control structures).

Output should display like this:

Emplyoee Name: Sally Mae

Emplyoee ID: 12345

Hours Worked: 35

Overtime Hours: 5

Weekly Pay: 480

Total Monthly Pay: 120

Posted Date: 2/15/2013 12:08:22 AM | Location : United States







Related Discussions:- Program to track the hours an employee worked , Assignment Help, Ask Question on Program to track the hours an employee worked , Get Answer, Expert's Help, Program to track the hours an employee worked Discussions

Write discussion on Program to track the hours an employee worked
Your posts are moderated
Related Questions
Q: But operator overloading makes class look ugly; isn't it assumed to make my code clearer? A: Operator overloading makes life simpler for the users of a class, not for develop

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci

to count number of occurances

Problem : (a) What do you understand by the term ‘constructor' in Java? Explain with an appropriate example. (b) Describe the differences between an object and a class usi

Explain the different types of errors in PHP. Warnings, Notices and Fatal errors are the types of errors in PHP Notices: Notices signifies non-critical errors, i.e. ac


#include #include #include #include #include class Employee { private: char *Name; //Set them as pointers... int IdNumber; char *Department; char *Position; public: voi

Write a ‘C’ program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number.

Program is to find the area of room: Program is to find the area of room with default values using classes & object class room   {   private:     int len;     i

Explain each of the algorithms in a way that would be understandable to an intelligent person who is not familiar with programming. You should not use any code (or even pseudo code