Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

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_2

Step: 3

blur-text-image_3

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 Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

More Books

Students also viewed these Databases questions

Question

What is Ramayana, who is its creator, why was Ramayana written?

Answered: 1 week ago