Programming project comprises writing a program that

Assignment Help Computer Engineering
Reference no: EM13469484

Programming project involves writing a program that computes the average salary for a collection of employees of different types. This program consists of four classes. The first class is the Employee class, which contains the employee's name and monthly salary, which is specified in whole dollars. It should have two methods:

1. A constructor that allows the name and monthly salary to be initialized.

2. A method named annualSalary that returns the salary for a whole year.

The Employee class has two subclasses. The first is Salesman. It has an additional instance variable that contains the annual sales in whole dollars for that salesman. It should have the same two methods:

1. A constructor that allows the name, monthly salary and annual sales to be initialized.

2. An overridden method annualSalary that returns the salary for a whole year. The salary for a salesman consists of the base salary computed from the monthly salary plus a commission. The commission is computed as 2% of that salesman's annual sales. The maximum commission a salesman can earn is $20,000.

Reference no: EM13469484

Questions Cloud

Would you usually recommend a clean install or an in-place : what upgrade options exist for moving from server 2008 r2 to server 2012? what limitations or caveats should be
Recent history illustrates that bullying is a growing : recent history illustrates that bullying is a growing problem among todays youth in the united states. amanda todd for
How did you approach the situation what steps or actions : in a 2-4-page paper describe a personal experience in which you or someone you know had to make a moral decision-for
Must have a begining middle and end this needs to be : human trafficking five page pager doubled spaced 12 point font two research resources and one academic source all
Programming project comprises writing a program that : programming project involves writing a program that computes the average salary for a collection of employees of
How much thermal energy is evolved by the reaction in a : how much thermal energy is evolved by a reaction in a calorimeter in which the temperature of the calorimeter and water
How does terrorism differ from other forms of violence how : how does terrorism differ from other forms of violence? how does motivation distinguish terrorist acts from other
1000-1500 word memo details your supervisor mr williams : 1000-1500 word memo details your supervisor mr. williams explains that you and one of the other senior partners will be
What changed jeffrey wigands mind in agreeing to do the : 1. what changed jeffrey wigands mind in agreeing to do the interview with 60 minutes? discuss2. did you learn something

Reviews

Write a Review

Computer Engineering Questions & Answers

  Make the price of an item for each of the five days

The Last Stop Boutique is having a five-day sale. Each day, starting on Monday, price will drop 10% of the previous day's price. For example, if the original price of a product is $20.00, the sale price on Monday would be $18.00 (10% less than the..

  Make and save documents using word processing software

Microsoft provides an abundance of clip art images, icons, backgrounds, and wizards to help you create professional looking Web pages. At times, however, you might want to venture onto the Internet to find more resources. Many sites exist online f..

  Write a class called "deck" with the traits

Write a class called "Card" with the following traits: it holds 2 private variables, a suit and a value (ace is high). It has public functions that randomly generate and build the suit, value and print out the suit/value to the screen. Write a suit..

  Questionyou are the ciso for a fortune 500 online

questionyou are the ciso for a fortune 500 online auctioning company that is implementing big data technologies in

  What advantages exist in having the wireless network

As wireless networks gain popularity there is an increasing number of households using them for their home networking needs. What benefits exist in having a wireless network in your home instead of a wired network.

  Write a program that uses a bag of strings to keep track

if you know how to read and write strings from a file,then have the program obtain its initial list of chores from a file. When the program ends, it should write all unfinished chores back to the file.

  Create a security policy company explaining network security

Sunica Music and Movies is the local multimedia chain with four locations. Each store has been acting independently of one another and has difficulty coordinating customer sales from one store to another based on inventory.

  Suppose it would take 100 hours in execution

For a certain program, 1% of the code accounts for 50% of the execution time. evaluate the following strategies with respect to programming time and execution time.

  Explain the osi model and data frames

Why should network architects concern themselves.

  Create a driver class to instantiate and exercise

ider the categories of classes that comprise your curriculum when designing your inheritance structure. Create a driver class to instantiate and exercise several of the classes.

  Explain the impact of telecommuting on energy conservation

the number of american telecommuters is expected to increase by 29 million telecommuters or 43 of the workforce by 2016

  Describe the arp process

What is a ARP Request and ARP Reply?What is the broadcast.

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