Find Jobs
Hire Freelancers

Simple Project for Visual C#

$30 AUD

I përfunduar
Postuar almost 11 years ago

$30 AUD

Paguhet në dorëzim
Your task for this project is to develop part of an object-oriented program for a human resources system for making payments for employees. Your system must handle two types of payments: • Fixed payments – where the amount paid to an employee is based upon a fixed amount, with no variation due to performance; • Prorata payments – where the amount paid to an employee depends upon performance factors, e.g., hours worked or value of goods sold. Your system must also handle three ways of paying employees: • Salary – an employee who is paid based on an annual rate (fixed); • Wage – an employee who is paid hourly (prorata); • Sales commission – an employee who receives a base salary plus receives an additional bonus based on percentage of sales (fixed and prorata). Your program must include the following: • You must apply both inheritance and interfaces in your solution – this will require defining more than one class and interface; • You must demonstrate accessing your data polymorphically in several ways, including the use of both ToString() method and your own polymorphic methods; • You must use the provided Employee class and (partially complete) Main method; Note that the actual classes, inheritance hierarchy, and interfaces that you use in your program are up to you. Marks will be awarded for the correct application of object-oriented concepts learned in the unit to date, including: • Class definition – instance variables, properties, and, methods; • Correct application of abstraction and encapsulation; • Correct application of inheritance and interfaces; • Correct demonstration of polymorphic behavior; Hint 1: Before starting, consider carefully how your program should be structured in terms of inheritance and interfaces. Taking the time to decide on how to represent these concepts in your application will save you a great deal of time later. Hint 2: If you are receiving error messages about inconsistent accessibility, make sure you use the public accessibility level on each of your classes. Note: Your output does not need to match the example below, however your output must similarly break down the information (the second and third sets of output below represent the remuneration data being accessed polymorphically in different ways). Workers: Benita's remuneration: $60,000.00 salary Pete's remuneration: $35,000.00 base salary plus 5.00% of total sales Travis's remuneration: $25.00 hourly wage wage Fixed payment remunerations: Benita receives $60,000.00 salary Pete receives $35,000.00 base salary Prorata payment remunerations: Pete receives 5.00% of total sales Travis receives $25.00 hourly wage Note: The following class must be used in your program, unchanged. using System; namespace Project_2 { public class Employee { private string _Name; public string Name { get { return _Name; } } private Remuneration _Remuneration; public Remuneration Remuneration { get { return _Remuneration; } } public Employee(string name, Remuneration remuneration) { _Name = name; _Remuneration = remuneration; } public override string ToString() { return [login to view URL]("{0}", _Name); } } } Program Class / Main Method Note: The code provided in the Main method below must be used in your program, unchanged. You may write your own code in the Main method at the indicated location. using System; namespace Project_2 { public class Program { static void Main(string[] args) { Employee [] workers = new Employee[] { new Employee("Benita", new Salary(60000.00M)), new Employee("Pete", new SalesCommission(35000.00M, 0.05M)), new Employee("Travis", new Wage(25.00M)) }; [login to view URL]("Workers:"); foreach (Employee emp in workers) [login to view URL]("\t{0}'s remuneration: {1}", emp, [login to view URL]); [login to view URL](); // YOUR CODE GOES HERE... } } }
ID e Projektit: 4514815

Rreth projektit

9 propozime
Projekt në distancë
Aktive 11 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
I dhënë për:
Avatari i Përdoruesit
I've already done similar project...
$32 AUD në 1 ditë
5,0 (474 përshtypje)
6,6
6,6
9 profesionistët e pavarur ofrojnë mesatarisht $61 AUD oferta për këtë punë
Avatari i Përdoruesit
Hi, I would like to do this project please. Let me know if you are interested so I can start. Thanks.
$35 AUD në 0 ditë
5,0 (81 përshtypje)
5,4
5,4
Avatari i Përdoruesit
Please, See my private Message.
$294 AUD në 3 ditë
5,0 (12 përshtypje)
4,4
4,4
Avatari i Përdoruesit
Let me help you
$30 AUD në 1 ditë
5,0 (21 përshtypje)
4,0
4,0
Avatari i Përdoruesit
Hello sir. I can do this job. Please, contact me to make agreemanet Regards vladang
$35 AUD në 3 ditë
5,0 (12 përshtypje)
3,2
3,2
Avatari i Përdoruesit
Hi, It's simple, I can do it.
$30 AUD në 1 ditë
5,0 (4 përshtypje)
3,0
3,0
Avatari i Përdoruesit
hi. let's start.
$33 AUD në 3 ditë
0,0 (0 përshtypje)
0,0
0,0
Avatari i Përdoruesit
I would like to do this project.
$30 AUD në 1 ditë
0,0 (0 përshtypje)
0,0
0,0
Avatari i Përdoruesit
Hi, i am very interested to do your work.
$30 AUD në 3 ditë
0,0 (0 përshtypje)
0,0
0,0

Rreth klientit

Flamuri i AUSTRALIA
Chadstone, Australia
4,8
17
Mënyra e pagesës u verifikua
Anëtar që nga pri 16, 2013

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.