Question: Language = C# Create a class object called Employee which included six private variables: First Name Last Name ID number Initial Salary Start Year Current

Language = C#

Create a class object called Employee which included six private variables:

First Name

Last Name

ID number

Initial Salary

Start Year

Current Salary

Methods :

Constructurs

properties (cursalary is a read-only)

Calccursalary() calculate the current slarat based on a 5 % yearly increment from the startyear

Create an EmployeeDemo class. In the main function, the program prompts user to enter the current year. Then, the program reads three company employee information from the EmployeeInfo.txt file and save the data into three objects.

After saving the data, the program prompts user to enter the range of current salary that you want to see and display the employees information whose current salary is in the range in a descending order.

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!