Develop a program that will determine the gross pay for each of several employees. The
company pays “straight time” for the first 40 hours worked by each employee and pays
“time-and-a-half” for all hours worked in excess of 40 hours. You are given a list of the
employees of the company, the number of hours each employee worked last week and the
hourly rate of each employee. Your program should input this information (no name,
though) for each employee and should determine and display the employee’s gross pay. You
should also put a check in for any employee who exceeds 80 hours. When this happens, you
should print a message saying, “Who are you kidding? Go see the boss!” Here is sample
output.
T-Mac1 0 Newbie Poster
John A 1,896 Vampirical Lurker Team Colleague
T-Mac1 0 Newbie Poster
T-Mac1 0 Newbie Poster
VernonDozier 2,218 Posting Expert Featured Poster
T-Mac1 0 Newbie Poster
VernonDozier 2,218 Posting Expert Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.