Question: Use an input prompt to ask her to enter the name, hours worked, and hourly wage for two employees. Calculate the gross pay for each
Use an input prompt to ask her to enter the name, hours worked, and hourly wage for two employees.
Calculate the gross pay for each employee.
Calculate the total amount of money you need to have.
Print out the names, gross pay, and the total.
Make sure you include comments with your name, date, and assignment name, as well as brief comments telling me what you're doing. Add an ifelse conditional structure to calculate overtime pay for all hours worked over
Add simple error handling so that if the user enters a text string when you're expecting a number, it will display a nice message instead of an ugly error.
Step by Step Solution
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
