Question: ***THIS IS FOR C# PROGRAMMING*** Write an application that asks the user if he/she is a Salary employee or an Hourly employee. If Salary, then

***THIS IS FOR C# PROGRAMMING***

Write an application that asks the user if he/she is a Salary employee or an Hourly employee.

If Salary, then ask the user for their yearly wage. Divide the yearly wage by 52 and display the result as their weekly wage.

If Hourly, then ask the user for their hourly wage and the hours worked that week. Calculate their wage based on the following rules:

1. Up to and including 40 hours of the hours worked are paid to the employee at their hourly wage. This is considered regular pay.

2. Any hours over 40 are paid at "time and a half" meaning (hourly wage * 1.5). This is considered overtime pay.

3. The total weekly wage for hourly workers is calculated as regular pay + overtime pay.

You should create at least 2 methods as part of this project. These methods are

1. CalculateWeeklyWageForSalary

2. CalculateWeeklyWageForHourly

Display the resulting weekly wage for the employee in currency format.

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!