Question: 1. Create a console program in C#, * Create a class: Employee.cs * Add 3 variables: EmployeeName (string), Age (int), YearsTowork(int) * Method YTK() =

1. Create a console program in C#,

* Create a class: "Employee.cs"

* Add 3 variables: EmployeeName (string), Age (int), YearsTowork(int)

* Method YTK() = 65 - Age;

2. Main

*Enter name

*Enter age

*You will work:____ years before retirement.

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!