Question: in simple cpp 2. Write a program to calculate employee's wage. Your program first asks the user to enter the number of hours an employee

in simple cpp
in simple cpp 2. Write a program to calculate employee's wage. Your

2. Write a program to calculate employee's wage. Your program first asks the user to enter the number of hours an employee works in one week (a float value). Then it calculates this employee's wage based on the following formula: (1) Hourly pay rate is $18.25 for the first normal 40.0 hours (2) An overtime pay rate factor of 1.5 is applied to the overtime hours The wage displayed should have 2 digits fraction part because of the money unit. The "if- else statement is required

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!