Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# Create an application that would: Ask your user to input the employee information Calculate the taxes Output all the info along with the table

C#

Create an application that would: Ask your user to input the employee information Calculate the taxes Output all the info along with the table that includes: Paycheck number (1, c2, 3, etc. up to 24) Salary prior to withholding for each paycheck State and federal taxes for each paycheck Salary after withholdings Last line has to have all the totals for the above

First class: Represents an Employee Tax information Include the following characteristics: employee ID, full name, tax filing status (such as married filing separately, etc. ), monthly salary (prior to withholdings), federal and state taxes (percentages), number of pay periods per year, and monthly amount withheld for each tax Write at least two constructors Include properties for each of the data items Include all the necessary calculations, including the determination of the tax percentage for each federal and state tax Override the ToString() method to return all data members

Second class: Tests Employee Tax class Displays instructions to your user (a short description of your application) Asks your user to input the information and writes it in the corresponding fields of each object Asks your user whether another employee information needs to be entered (dowhile) Test your class with at least three employees with different salaries within different tax brackets Display the data from the first object using a class method (you will need some method DisplayObject()), and the other two objects via the reference to ToString() instance method

Make sure to use modular solution (with multiple methods) Include at least one iteration and one condition statemen

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

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

Define communication and elaborate your definition.

Answered: 1 week ago

Question

Lo6 Identify several management development methods.

Answered: 1 week ago

Question

LO4 List options for development needs analyses.

Answered: 1 week ago