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

Program for implement vectors and iterators, - Write a program using vector...

- Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles. The user should be able to view all DVD titles in his library, add and d

C program for bubble sort, C program for bubble sort: void main() {...

C program for bubble sort: void main() { int i,j,k,a[10],n; clrscr(); printf("How many values you want to enter\n"); scanf("%d",&n);  for(i=0;i  {  pri

Can inline functions contain a recursion?, A: No. Syntax wise it is permitt...

A: No. Syntax wise it is permitted. But then the function is no longer Inline. Since the compiler will never know how deep the recursion is at compilation time.

Set performance data and print tickets, Create a class  called  ticketSelli...

Create a class  called  ticketSelling that stores booking information of a single performance on a single day and sells the tickets of the performance. The class should include at

what does it mean to declare a member variable as a static, b) The static ...

b) The static keyword let a variable to maintain its value among distinct function calls. If the value of a static variable alters while the variable has been accessed, variable

Program is to find the maximum from two numbers, Program is to find the max...

Program is to find the maximum from two numbers: Program is to find the maximum from two numbers entered by the user having pointer variable as parameter void main()   {

I need file transfer solution, We move a high quantity of large Video files...

We move a high quantity of large Video files (200mb - 2 GB each) across the internet. We have a Linux server (ubuntu) hosted in a datacenter (1Gbps) operating an FTP server. Our

Programing project, Hello, Do you have any idea for programming project to...

Hello, Do you have any idea for programming project to simulate a network attack (threat) mechanism or a defense mechanism. Can I get some suggestions for this. Please include th

What are some ways try / catch / throw can develop software , Q: What are s...

Q: What are some ways try / catch / throw can develop software quality? A: By removing one of the reasons for if statements. The commonly utilized alternative to try / catch

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