Friday
October 31, 2014

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

programming - There are several types of room in a hotel. The HotelRoom Class of...
Computer Information - A __________ provides the tools that a programmer uses to...
Computer science - THIS IS C PROGRAMMING I NEED TO CREATE A METHOD! Create a ...
it 210 computer programming - I need to generate an object oriented design for a...
computer science - hi i'm taking compsci and I need someone to give me some ...
C++ Programming - create a class called DataSet. This class will have a default ...
Computer Science - I got part one but part 2 is confusing. Part1: Create a class...
computers - Scenario: You have been employed as the IT Director for the ABC ...
computers - I have just started a basic class in programming and I am totally ...
AED 204 - I am stuck on the final paper for this class. I am not really sure ...

Search
Members