Question: Develop a program to prompt the user to enter an employees name, the number of hours the employee has worked for the week and the
- Develop a program to prompt the user to enter an employee’s name, the number of hours the employee has worked for the week and the employee’s hourly pay rate. The program must calculate and print the employee’s gross pay. Gross pay is calculated by multiplying the hours worked by the hourly pay rate.
- Output Format:
- Employee name – xxxxxxxxxxxxxx
- Gross Pay - ###,##
- Run the program with the following data:
- Employee Hours Worked Hourly Pay Rate
- Mary Jones 40 20
- Mark Smith 35 25
- Peter Piper 30 22
- Mary Contrary 15 19
Step by Step Solution
★★★★★
3.50 Rating (150 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
