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

  How linear structures-particularly arrays-are implemented

Project at work calls for storage of computer maintenance schedule information. Using C# as source language, investigate how linear structures-particularly arrays-are implemented.

  Blinky lights ii the hard way take the last two digits of

blinky lights ii the hard way take the last two digits of your utcid. this is your duty cycle in percent. if your duty

  Describing get method and post method

The GET method is used for viewing something, without changing its value. The POST method is used for values that are not constant. In terms of security, which method do you think is more secure? Explain your answer.

  Calculate the price for individual orders

Determine the price of the shirts from the radio buttons and check boxes for the monogram and pockets. Multiply the quantity by the price to determine the extended price, and add to the order total and summary total

  Name some form controls used with dotnet

Managing validation becomes a rather onerous task when you have to design a contact form, an event registration form, a sign in form, etc. What are some form controls used with .NET? Explain your answer.

  Develop an asp.net web page

Develop an ASP.NET web page that will allow the students to submit information about themselves, and the courses that they are taking on-line. The information will be stored in an MS-SQL Server Express 2008 database, named College.

  C# visual basic 2012 design stick figure for hangman game

Hangman is a favorite childhood game. using C# visual basic 2012 Design the stick figure for this game

  Discuss html- css

As an IT professional, you will frequently use the Web to located resources to help you with your work. There are a plethora of online   resources available, including news articles, reviews, blogs, videos, reference books, and tutorials.

  Write an app to simulate the rolling

With C#, write an app to simulate the rolling of two dice. The app should use an object of class random once to roll the first die and again to roll the second die. The sum of the two values should then be calculated. Each die can show an integer val..

  What do terms syntactic sugar and syntactic salt mean

What do the terms "syntactic sugar" and "syntactic salt" mean? From your knowledge of the C# programming language, list at least five syntactic sugar and salt features.

  Create a new web form called frmuseractivity

Create a new Web form called frmUserActivity. Switch to Design Mode and add a Label and GridView (found under the Toolbox, Data tab) having the following properties:

  1 design a web application using visual studionet 2012 c

1. design a web application using visual studio.net 2012 c language with the implementation of the followinga upload

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