Write program to keep track of employees pays per quarter

Assignment Help JAVA Programming
Reference no: EM13881390

A sales company wants to have a program to keep track of their employees' pays per each quarter. There are two types of employees: Managers and SalesReps. Note that a manager has a fixed monthly income of $3,500 but a sales representative has a base salary of $2,000 plus a 5% commission rate of the sales amount.

Come up with class declarations in which one class is an abstract class, and other classes are derived from the abstract class. The classes will be used for a polymorphic application. The derived classes should have at least two public member functions. Submit the following items:

-Abstract class declaration.

-first derived class declaration.

-second derived class declaration.

- main( ) that contains declarations of objects and use objects to call their member functions.

Create a class template that contains two private data members: T * array and int size. The class uses a constructor to allocate the array based on the size entered. There is member function that allows the user to fill in the array based on the size. In addition, there is a member function that sorts the array and displays the sorted elements. Use the destructor to delete the array. Develop the main ( ) to create two objects to call member functions. As a result, the first object will hold its array of double type, and the other will hold its array of the int type.

Reference no: EM13881390

Questions Cloud

What is typically the most time consuming aspect : What is typically the most time consuming aspect within the expenditures process?
The large number of banks in the commercial banking : As you have read, and may agree, "the large number of banks in the commercial banking industry and the absence of a few dominant firms suggests that commercial banking is more competitive than other industries". Yet many of us prefer the "Thrift Indu..
Describe what an innovation measurement system : Describe what an innovation measurement system would focus on in your organization. Identify how you might use it to support your innovations
Find the maximum or minimum value of the function : Find the maximum or minimum value of the function and then state the domain and range of the function y=8-3x-4x2.
Write program to keep track of employees pays per quarter : Write a program to keep track of their employees' pays per each quarter. There are two types of employees: Managers and SalesReps.
Consider two strategically dependent firms : Consider two strategically depdentant firms and their decision to advertise. If both forms advertise, Firm A makes $10mil in profits and Firm B makes $5mill. If neither advertise, Firm A makes $10m and Firm B makes $2m. If Firm A advertises and firm ..
Appropriate journal entries for these transactions : 1.Camden Biotechnology began operations in September 2013. The following selected transactions relate to liabilities of the company for September 2013 through March 2014.
Equilibrium and the equilibrium real gdp : Suppose the economy is in equilibrium and the equilibrium real GDP is $800 billion.Suppose further that the MPC is 0.6. If the government decides to increase itsspending by $50 billion, what would be the ultimate effect of the change ingovernment spe..
Explain how system logic errors could cause cash management : Explain how system logic errors could cause cash management problems.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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