Write a main() program to exercise this class

Assignment Help Civil Engineering
Reference no: EM131125274

Create a class called employee that contains a name (an object of class string) and an employee number (type long). Include a member function called getdata() to get data from the user for insertion into the object, and another function called putdata() to display the data. Assume the name has no embedded blanks. Write a main() program to exercise this class. It should create an array of type employee, and then invite the user to input data for up to 100 employees. Finally, it should print out the data for all the employees.

Reference no: EM131125274

Questions Cloud

Determine the angular velocity : determine the angular velocity ? of the bar if the velocity of end A is 0.3 m/s as shown.
What is the amount of inventory to be reported : What is the amount of inventory to be reported on the financial statements?
Client load and projections for the next six months : Fitch and Hughes, P.C., is a small law firm specializing in family law, wills, estates, and trusts. The firm, begun in 1980 by Jason Fitch and George Hughes, currently has three attorneys who are shareholders, and three associate attorneys.
Which of the methods produces the most pronounced gradient : Which method is best at transferring heat from the fluid to the eggshell? Compare the temperature gradients you observed in the two methods. Which of the methods produces the most pronounced gradient?
Write a main() program to exercise this class : Assume the name has no embedded blanks. Write a main() program to exercise this class. It should create an array of type employee, and then invite the user to input data for up to 100 employees. Finally, it should print out the data for all the em..
Pk of an acid is numerically equal to the ph of the solution : What indicates that the pK of an acid is numerically equal to the pH of the solution when the molar concentration of the acid and its conjugate base are equal?
What is the amount of inventory to be reported : What is the amount of inventory to be reported on the financial statements?
The plastic bottles demand pattern from question : Consider the plastic bottles demand pattern from question 1. Suppose I plan to instead set up a periodic reviewinventory system, and I will order this item every 7 days. There is still a 2 day lead time.

Reviews

Write a Review

Civil Engineering Questions & Answers

  What are the possible combinations of inflow and outflow

what are the possible combinations of inflow and outflow of water in the tank in a given day. if the water level in the tank is 7ft from the bottom at the start of day, what are the possible water levels in the tank at the end of the day.

  Determine a composite scs runoff curve number

Determine a composite SCS runoff curve number for a 600-acre basin that is totally within soil group C. The land use is 40 percent contoured row crops in poor hydrologic condition and 60 percent native parture in fair hydrologic condition.

  Calculate the area of each filter in constructing rapid sand

Estimate the number of filters required and calculate the area of each filter (ft2), assuming that a length-to-width ratio (L:W) of 4:1 is employed in constructing the rapid sand filters and suing a filtration rate of 6 gpm/ft2.

  Determine what will be the resultant water column height

A rigid open cylinder having an inside diameter of 15 mm contains a column of water 500 mm long at 20 degrees C. If a compressive force of 2 kN is applied to the top of the water column by a frictionless 15 mm piston

  What is the tp concentration in the lake one week after the

Over a long period, total phosphorus (TP) has been discharged to a lake through sewage and surface water runoff at a rate of 10 tons/day. Measures were then taken to reduce the TP load to 1 ton/day.

  Compute the allowable load on a column with fixed ends

compute the allowable load on a column with fixed ends if it is 5.45 meters long and made from an S150 x 18.6(S6 x 12.5) beam. The material is ASTM A36 steel. Use the AISC formula.

  What is the probability that if purchased car is better

An automobile that you are looking at purchasing has an advertised fuel mileage of 30 miles per gallon. You rent the car for a week and track your mileage to school and back home and get (miles/gallon)

  Determine the entrance losses after 36 hours of pumping

Observation wells are located 10 meter and 50 meters from the pumped well. After pumping continuously for 36 hours the drawdowns were 3.6 meters and 1.20 meters respectively.

  How many vehicles per minute must the attendant process

Vehicles begin to arrive at a remote parking lot after the start of a major sporting event. They are arriving at a deterministic but time-varying rate of "3.3-0.1t" where 't' is in minutes. the parking lot attendant processes vehicles ( collects fee ..

  Determine the rate of heat transfer to the plates

If the plates remain in the oven until their average temperature rises to 1000°F, determine the rate of heat transfer to the plates in the furnace.

  Determine the gravimetric analysis of the mixture

A gas mixture has the following composition on a mole basis: 60 percent N2 and 40 percent CO2

  Explain why the plot is not linear

The refrigerant is now heated until its temperature rises to 70°C. Calculate the work done during this process.

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