Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

***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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions

Question

what is a peer Group? Importance?

Answered: 1 week ago