Course Solutions Uncategorized (Solved) : Design Program Weeklypay Prompts User Name Employee Hourly Pay Hours Employee Worked Day W Q27275676 . . . .

(Solved) : Design Program Weeklypay Prompts User Name Employee Hourly Pay Hours Employee Worked Day W Q27275676 . . . .

 

Design a program WeeklyPay that prompts theuser for the name of an employee, thehourly pay, and thehours that the employee worked on each day of theweek (M-F). You MUST use aCOUNTER-CONTROLLED WHILE LOOP toread in the hours worked for each day (M-F).

An employee earns an overtime rate of time anda half for hours over 40. It is possible that an employee might notwork on a week day, but the hours worked for a day cannot benegative. You MUST validate the hours workedentered by the user with an if statement – use zero for a negativevalue.

Calculate the employee’s pay for the

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post