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

  Console application that implements an int array

Develop a C# console application that implements an int array. Random class and a second for loop to iterate through the filled array and print the values entered into the array by the random number generator

  Determine and print the average age of your family

Determine and print the average age of your family and print the names of anyone who lives in Texas. There are 4 components of your submission including

  Briefly describe your new architecture

Briefly describe your new architecture. Include a summary of the changes made to the application to support the new architecture. Describe the new components created for your application, and identify how and where they are used

  Create a c# program that includes a coffeeorder class

Create a program that includes the following requirements: Create a CoffeeOrder class

  Question 1a using the help of a diagram describe the layer

question 1a using the help of a diagram describe the layer of the .net framework that sits between visual basic.net

  Website design html urgent

It's all about Website design which I am taking as in class. It is going to be web site. 3 web pages, 2 font styles, 2 font sizes, 2 colors minimum.

  Use a one-dimensional array to solve the following problem

Use a one-dimensional array to solve the following problem: Read in 20 numbers, each of which is between 10 and 100 inclusive.

  Very boards does a big business in shirts especially for

very boards does a big business in shirts especially for groups and teams. they need a project that will calculate the

  How can you enhance linq to sql application performance

Describe how can you enhance LINQ to SQL application performance? Provide examples. Ajax calls can be in form of a GET or POST. Which of these two options are you more likely to use over the other? Consider performance issues in your decision.

  Postel s 2001 february safeguarding our water growing more

postel s. 2001 february. safeguarding our water growing more food with less water. scientific american 2842

  Write down a visual studio c console application to

write a visual studio c console application to simulate the rolling of two dice. use an object of the random class for

  Develop windows form application for the national soccer

Develop a Windows Form application for the National Soccer Association to enter the teams for each of the 8 group(input of teams for each group) - Develop the C# WinForm Application in Visual Studio 2013.

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