Make an enhancement to the ilabs you have been working

Assignment Help DOT NET Programming
Reference no: EM131298880

Assignment

For this lab you are going to make an enhancement to the iLabs you have been working on this session. You will be adding two classes to your UML and developing those classes in C#. You will also add code to the Main() to demonstrate that the new classes work as expected.

The first class you'll add is Commissioned. This represents a commissioned employee. This class is derived from Employee. There are two attributes that are both double: commissionRate and salesAmount. The class should include a default constructor and an overloaded constructor similar to what you did for Hourly and Salaried. The class should also include properties for each attribute, a ToString(), a CalculateWeeklyPay() and a CalculateNetPay(). You will need to set the Annual Salary equal to salesAmount * commissionRate. HINT: look at the properties in the Hourly class for guidance. The weekly pay will be AnnualSalary/52. The TAX_RATE constant will be .75 to calculate the net pay. There is no max for commissionRate or salesAmount however the min is 0.

The second class you'll add is CommissionedPlusBase. This represents a commissioned employee who earns a base salary in addition to commission for sales. This class is derived from Commissioned. There is one attribute that is a double: baseSalary. The class should include a default constructor and an overloaded constructor similar to Commissioned. The class should also include a property for the attribute, a ToString(), a CalculateWeeklyPay() and a CalculateNetPay(). You will need to set the Annual Salary equal to baseSalary + (commissionRate*salesAmount). See HINT above. The weekly pay will be AnnualSalary/52. The TAX_RATE constant will be 75 to calculate the net pay. There is no max for baseSalary however the min is 0.

In the Main, add 2 elements to you array, one for each new class. Prompt the user for values and display the results just like the other classes.

Reference no: EM131298880

Questions Cloud

Important risk in investing in the financial futures market : Identify the most important risk in investing in the financial futures market. Recommend one strategy to manage the risk
Endogenous variable chosen by the government : The normal case is when the public good G is and exogenous variable, but my question is what if it is an endogenous variable? 1. Is it realistic to assume the public good is an endogenous variable chosen by the government?
How does this sale affect gdp : Real GDP for 2010 is less than nominal GDP for that year. But real GDP for 2000 is more than nominal GDP for that year. Why?
Renegotiate a new employment contract : Every year, management and labor renegotiate a new employment contract by sending their proposals to an arbitrator who chooses the best proposal (effectively giving one side or the other $1 million).
Make an enhancement to the ilabs you have been working : For this lab you are going to make an enhancement to the iLabs you have been working on this session. You will be adding two classes to your UML and developing those classes in C#.
Determine that a suitable sampling frequency is being used : Repeat the simulation using a sampling frequency of 10,000 Hz. What does this last simulation tell you? How can you determine that a suitable sampling frequency is being used?
Discuss issues such as cost any problems : Devices to assist people with disabilities. Describe some of the new tools and their impact. Discuss issues such as cost, any problems with these devices, etc. Please attach article used.
Modify the simulation code given in appendix a : Determine the values of the B and C vectors for N = 11. Modify the simulation code given in Appendix A to include this phase detector model.
How the impact of pricing volatility may be minimized : Assess the validity of this criticism, indicating how the impact of pricing volatility may be minimized. Provide support for your rationale. Create a convincing argument that the upside financial benefits outweigh the downside risk related to option..

Reviews

Write a Review

DOT NET Programming Questions & Answers

  Develop web services based application

Develop and test a Web services based application that meets the requirements applying SOA design principles.

  Design style elements in asp

Add drop down lists for modifying the different style elements for the label element that displays the time

  Create a shopping cart in asp

The users will use a browser to access the on-line store. The web server software for the production web server is Windows 2003 Server /IIS6.

  Inventory management system in c# application

Inventory management system in c# application

  Using .net resources to teach .net

This project will use the .NET framework to produce a set of materials to demonstrate the fundamental principles of .NET. Ideally it should demonstrate some of the principles of the framework e.g. interoperability.

  Prepare a marymount faculty site

Prepare a Marymount faculty site

  Blinky lights

Analysis proving that your code blinks the LEDs at the specified rates.

  Prepare a web application

Prepare a web application that will be used to keep track of patients registering in a hospital.

  Implementing the insurance management system

Implementing the Insurance Management System and implementation of Components as Web Services.

  Describe the characteristics of visual studio 2005

Describe the characteristics of Visual Studio 2005 Visual Studio.Net is a suite of products that includes 4 main languages. Name these languages and outline their use in industries

  What is a connectionstring

What is a ConnectionString. Give a suitable example to illustrate the various part of a ConnectionString

  Prepare a web application for internet service provider

Prepare a Web application and write the code also event planning document base. This web application allows the user to sign up for an Internet service provider for home connectivity.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd