Write a C program that will calculate the gross pay of a set of employees.
program should prompt the user to enter the number of hours each employee worked. When prompted, key in the hours shown below.
The program determines the overtime hours (anything over 40 hours), the gross pay and then outputs a table in the following format.
Column alignment, leading zeros in Clock#, and zero suppression in float fields is important.
Continue to incorporate functions into your program design.
Use 1.5 as the overtime pay factor.
This week, adding a Total and Average row is no longer optional, its required for this assignment:
a) Add a Total row at the end to sum up the wage, hours, ot, and gross columns
b) Add an Average row to print out the average of the wage, hours, ot, and gross columns
Recently Asked Questions
- Please help me with this code in C++ language. Design a Ship class that has the following members: A member variable for the name of the ship (string) A member
- I made a code that evaluate grades, however my teacher told me I need to make it work by using arrays but I don't know how to make it work using arrays. here
- Hey i will really appreciate if you can help me with this question. Thanks the question is Consider a strand of deoxyribose nucleic acid (DNA) with a length of