Create an array of five employee objects

Assignment Help JAVA Programming
Reference no: EM13713017

Question-This is a C++ program for Object-Oriented Programming using C++ by Joyce Farrel.

Please ensure you read what I am asking you to do as I do not need programs in other programming languages I just require it to be in C++ so please ensure you do as the description say.

Program-Create a structure named Employee. Include data fields to hold the Employee's ID number, first name, last name, and hourly pay rate.

- Create an array of five Employee objects. Prompt the user to enter data for each Employee. Do not allow duplicate ID numbers to be entered.

Then prompt the user to choose whether to search for an Employee by (1) ID number, (2) last name, or (3) hourly pay.

After the user chooses the field on which to search, prompt the user for the search value. Display an error message if there is no Employee with matching criteria, otherwise display all the date for every matching Employee (more than one Employee might have the same last name or pay rate.)

Please only use concepts that have been learned in the first five chapters of the book given above.

Reference no: EM13713017

Questions Cloud

Calculate q for the reaction : 2.00 L of 0.500 M H2SO4 (density 1.030 g/mL) at 25.000C is mixed with 200. g of NaOH solution, also at 25.000C. After stirring, the temperature of the solution is 36.820C. Calculate q for the reaction
Implement a function named sort : Write a function named sort that takes three integer parameters by reference.The function should rearrange the parameter values so that the first parameter gets set to the smallest value
Explain the atomisation method : Explain the atomisation method you would use in this instance and the advantages it has over alternative?
The length of the ocean liner : An ocean lner in the distance substend an arc in your field of vision of 2 degrees. If you estimate the length of the ocean liner to be 250 m. How far away is it.
Create an array of five employee objects : Create an array of five Employee objects. Prompt the user to enter data for each Employee. Do not allow duplicate ID numbers to be entered.
Predict to have the larger heat of combustion : Which would you predict to have the larger (more negative) heat of combustion: A. hexane or B. 2-methylpentane
The force of gravity : A piece of luggage is being loaded onto an airplane by way of an inclined conveyor belt. The bag, which has a mass of 20.0 kg, travels 2.50 m up the conveyor belt at a constant speed without slipping.
Evaluates equivalence relation : For each of the subsequent relation, evaluates if it's an equivalence relation, if it's right-invariant, and give the index if it is an equivalence relation.
Find the total pressure of the gas mixture : 4.5g of Ne, 6.7g of Ar, and 8.9g of Kr are in a 15.0L container at 36.5 degrees celsius. Find the total pressure of this gas mixture in torr.How much faster is N20 than Kr

Reviews

Write a Review

JAVA Programming Questions & Answers

  Evaluate an infix expression entered by the user

Spaces between tokens are allowed but not required. The program will repeatedly prompt the user for the value of x, displaying the value of the expression each time. When the user enters the letter q instead of a number, the program terminates.

  You will need a bottomuptwothreefourtree class with a

you will need a bottomuptwothreefourtree class with a bottomuptwothreetreefourtree constructor which takes no

  Guess the number game

The user interface is displayed and the user clicks the "Start Game" button to begin the game - Your application then gets a random number in the range 1-1000 inclusive

  Describe creating java programs to calculate the squares

Using a while loop, write the square of all integer numbers from 0 to 10 make the program calculate the squares

  Write a java sorting application with two classes

Problem. Write a Java Sorting Application with two classes, JavaSort and JavaSortTest. Your JavaSort Class, as a minimum must contain sorting methods for BubbleSort, InsertionSort, ShellSort, MergeSort, and QuickSort.

  Part-2write a program that will perform some of the basic

part-2write a program that will perform some of the basic tasks accomplished by a file integrity checker such as

  Design a function named "falling distance"

Design a function named "fallingDistance" that accepts an objects falling time, in seconds, as an argument. The function should return the distance, in meters, that the object has fallen during that time interval. Design a program that calls the func..

  Write a program in java that reads contents of two vectors

Write a program in Java that reads contents of two vectors, and then displays the sum of these two vectors. The program should prompt the user to enter the size of the vectors first.

  Java code using jframe

Write a Java code using JFrame. This code needs to manipulate 4 shapes(2 rectangles and 2 squares) in a 400x400 JFrame. This needs to manipulate the shapes in 3 different ways, using 3 different methods. One for translating a shape, one for proportio..

  Create a constructor with three default parameters

How can you create a constructor with three default parameters two of type string and one double?

  A game of tic-tac-toe

A game of tic-tac-toe, two players (one the computer) take turns marking an available cell in a 3 X 3 grid (a two dimensional array) with their respective tokens (either and X or an O). When one player has placed three tokens in a horizontal

  Prepare a java program to play pig

Pig is a two player game where the players take turns repeatedly rolling a single 6 sided die. A player repeatedly rolls the die until one of two events happen:

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