program to compute weekly pay for an employee. The program will prompt the user to enter the
Fantastic news! We've Found the answer you've been seeking!
Question:
program to compute weekly pay for an employee. The program will prompt the user to enter the following:
Employee Id
Employee name
Number of hours worked
Hourly rate The program will compute the weekly pay as follow: Weekly pay = hours worked x hourly rate
If the hours worked exceed 40 hours, the weekly pay will be calculated as follow: First 40 hours x hourly rate Subsequent hours x hourly rate x 2
Related Book For
Starting Out With Java From Control Structures Through Data Structures
ISBN: 9780133957051
6th Edition
Authors: Tony Gaddis
Posted Date: