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
Derived Data Type: Array is derived data type to store large collection of data of only one data type. int mark[100]; char names[25]; Function: will be discussed early

F r i e n dly Function: A class can have public members and private members.   The public member can be used through the class using dot operator.   Where as private me

Write a recursive function recursiveMin that takes an integer array, a starting subscript and an ending subscript as arguments, and returns the smallest element in the array. The f

how are metric numer change the number of metric

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Create a program that will accept 3 numbers. The first number (num1) is the common difference and the second number (num2) is the starting number and the 3rd number (num3) is the m

The files are meteorological radar data whose decompression is badly needed for relative study. Please contact Kathy Lee (Email: ; Cell phone: 0086 15701799056) or Mr. Zhu (Email:

Write a Haskell program that calculates a balanced partition of N items where each item has a value between 0 and K such that the difference between the sum of the values of first


WAP TO PRINT SERIES FROM 1 TO 10 & FIND ITS SQUARE AND CUBE # include stdio.h> # include conio.h> # include math.h>   void main () { int a=1,sqr=0,cube=0;