Reference no: EM13307439
Write a phone book program that uses the following classes:
Individal - Base Class
Private data members -last name, first name, phone number
Student - Derived from Individual
Private data members - gpa, hours
Staff - Derived from Individual
Private data memers - position (string), year employeed (int)
The program should be menu driven and allow the user to
1. Create a new phone book entry and place it in an array
2. Retrieve a phone book entry and display on screen
3. Retrieve all names and display to screen and write to file
Have a staff array and student array. 10 positions are sufficient. No particular order is requied.
When phone book enties are displayed all data members will be displayed. Create a friend function that overloads the << operator to output phone book entries.
Determine the maximun wavelength of incident radiation
: Determine the maximun wavelength of incident radiation that can be used to remove the remaining electron from a singly ionized helium atom He+ (z= 2)
|
How to estimate the value of the fuel that is captured
: If the tanker truck discharges into the top of the tank with no vapor control, the emission of gasoline vapors is estimated to be 2.75k*m^-3 of gas delivered to the tank.
|
Find the depth of the submarine
: A stationary destroyer is equipped with sonar that sends out pulses of sound at 35.000 MHz. If the speed of sound in seawater is 1.57 km/s, find the depth of the submarine
|
Determine the work done and the heat transfer
: Water, initially dry saturated vapour at 4 bar, lls a closed rigid con- tainer. The water is heated until its temperature is 400C. Determine the work done and the heat transfer.
|
Write a phone book program
: When phone book enties are displayed all data members will be displayed. Create a friend function that overloads the
|
Calculate the work done and the heat transfer
: Calculate the work done and the heat transfer. Hint: Use the ideal gas law pv = RT to nd the temperature at the end of compression. Take R = 0.287 kJ/kg.K and cv = 0.718 kJ/kg.K.
|
Give a polynomial-time algorithm for the following problem
: Give a polynomial-time algorithm for the following problem. We are given a binary tree T = (V, E) with an even number of nodes, and a nonnegative weight on each edge.
|
Determine the centroid-moment of inertia and section modulus
: THE HOME DEPOT IN RED HOOK ,BROOKLYN IS LOOKING TO RENOVATE THEIR STEEL ROOF TRUSS.YOU HAVE BEEN ASKED TO DETERMINE THE CENTROID,MOMENT OF INERTIA,SECTION MODULUS AND RADIUS OF GYRATION OF THE DOUBLE ANGLE.
|
Give a polynomial-time algorithm to find a subset
: So this is the question they pose to you: Which of the remaining applications, if any, should be moved? Give a polynomial-time algorithm to find a subset S of {2, 3,..., n} for which the sum of the benefits minus expenses of moving the application..
|