COP 2800  Assignment 2 Solved

10.00 $ 5.00 $

Categories: ,

Description

This week we are going to write a program that calculates wages for three employees.  The screen shot is a sample run showing how your program should work.

Examine the input and output for employee 2 above.  Employees that work more than 40 hours are paid ‘time and a half’, i.e. 1.5 times their normal rate, for hours above 40.

 

You do not have to input employee names, just call them 1, 2, and 3.  However, the majority of your program should be done in a loop, i.e. there should be only one statement that prompts for hourly rate, etc.