Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions Create a C# .NET Framework application an zip the ENTIRE project folder to submit here. Prompt the user for their Name, Hours Worked, and

Instructions

Create a C# .NET Framework application an zip the ENTIRE project folder to submit here.

Prompt the user for their Name, Hours Worked, and whether they are a salaried or hourly employee.

If the employee is salaried, ask for the yearly salary.

If the employee is hourly, ask for the hourly pay rate.

Weekly Pay for Hourly Employees is calculated like this

  • Any hours over 40 are paid 1.5 times their hourly pay rate
  • Any hours from 40 and below are paid at their hourly pay rate

Weekly Pay for Salaried Employees is calculated like this

  • Base pay is their yearly salary divided by 52
  • if 60 or more hours are worked, add a $500 bonus to their weekly pay
  • If 50 or more hours are worked, add a $200 bonus to their weekly pay

Correctly calculate the weekly pay for the employee based on the information given.

Calculate the Oklahoma tax on income like this

  • if the weekly pay is less than $139, charge .5%
  • if the weekly pay is $139 or more, charge 5%

Calculate the Federal Tax on income like this

  • Charge 35% for weekly pay of $4038 or more
  • Charge 32% for weekly pay of $3173 to $4037
  • Charge 24% for weekly pay of $1653 to $3172
  • Charge 22% for weekly pay of $779 to $1652
  • Charge 12% for weekly pay of $191 to $778
  • Charge 10% for weekly pay under $191

Calculate the Social Security Tax on income like this

  • 6.2 % on weekly pay amount

Write a method to calculate the Oklahoma Tax and return the Oklahoma tax owed

Write a method to calculate the Federal Tax and return the Federal tax owed

Write a method to calculate the Social Security Tax and return the Social Security tax owed.

Display the Weekly Pay Earned and all the taxes owed.

Then display the Weekly Pay after all the taxes are deducted.

Can you comment per line explaining whats happening with the code.

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

Database Marketing The Ultimate Marketing Tool

Authors: Edward L. Nash

1st Edition

0070460639, 978-0070460638

More Books

Students also viewed these Databases questions

Question

Know the three main dimensions of the service environment.

Answered: 1 week ago