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:
Up to and including 40 hours of the hours worked are paid to the employee at their hourly wage. This is considered regular pay.
Any hours over 40 are paid at "time and a half" meaning (hourly wage * 1.5). This is considered overtime pay.
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
CalculateWeeklyWageForSalary
CalculateWeeklyWageForHourly
Display the resulting weekly wage for the employee in currency format.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
