Monday
July 6, 2015

Homework Help: computer science

Posted by Latifu on Wednesday, March 16, 2011 at 6:17pm.

I need to see if someone can hepl me with a c# programming problem
Create a class called employees that includes three pieces of information as either instance variables or automatic properties - a first name(type string), a last name (type string) and a monthly salary (decimal). Yor class should
hace a constructor that initializes the three values. Provide a pproperty with get and set accessor for any instance variable. Of the monthly salary is negative, the set accessor should leave the instance variable unchanged. Write a test application named EmployeeTest that demonstrates class Employee's capabilities. Create two Employee objects and display each object's yearly salary. Then give each Employee a 10% raise and display each Employee's yearly salary again.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Members