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

Assignment Help:

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


Related Discussions:- Program to track the hours an employee worked

Assignmet, I have a assignment deadline is 11.11.2015 can I get help

I have a assignment deadline is 11.11.2015 can I get help

Coding, how to make the coding

how to make the coding

Develop g-code generating software, Develop G-code generating software P...

Develop G-code generating software Project Description: I'm presently using Slicer on a polymer jetting 3d printer. The toolpaths were thought out for FDM printers and thus a

C program to print l diagonal triangle, C program to print L diagonal trian...

C program to print L diagonal triangle: void main() {                 int i=0,j=0;                 int arr[rows][cols];                 for (i=0; i

Integral, Write a program to find the area under the curve y = f(x) between...

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

How do one throw polymorphically?, How do one throw polymorphically?       ...

How do one throw polymorphically?               A: Sometimes people write code such as: class MyExceptionBase { }; class MyExceptionDerived : public MyExceptionBase { };

Luminous Jewels - The Polishing Game, Byteland county is very famous for lu...

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

COMPUTER, THEORY OF COMPUTER PROGRAMMING

THEORY OF COMPUTER PROGRAMMING

C program to remove vowels in sentence , C program to remove vowels in sent...

C program to remove vowels in sentence : void main() {                 char  str[100];                 int n;                 printf("enter string\n");

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd