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

  Engineering ethics and ethical issue

what is the engineering ethics course where to write about any engineering ethical case and discuss the ethical issue?

  Engineering ethics and concept and cases

what is the engineering ethics case related to civil engineering with reference and discuss all the engineering ethics issues which covered the "Engineering etics concepte and cases?

  Transportation and management

In the construction management, there is a lot of procurement route that are necessary and suitable for the construction industry.

  Supporting Investment Promotion: ERNST & YOUNG

Ernst & young is currently providing support to various sectors. In this regards it was felt that if this report is able to document good practices currently being adopted or planned in ceramic sector.

  Personalized Cancer Therapy-A step forward

Cancer is the uncontrolled growth of abnormal cells in the body resulting in tumours that can be benign or malignant (cancerous cells). A proper treatment is necessary to fight with this serious disease.

  Discuss the different environmental companies

Discuss the different agencies, institutes, centers, different environmental companies that are active in UAE.

  Develop a simple urban constructed wetland design

Develop a simple urban constructed wetland design.

  Evaluate company performance in relation to GRI standards

Evaluate company performance in relation to GRI standards and comment on Stigler's theory.

  Water system design

Determine the corresponding error in the computed discharge

  Hydraulic behaviour in open channel

Describe how test flumes and associated equipment are used to assess and confirm hydraulic behaviour in open channel

  Write a paper on steel sustainability

Write a paper on steel sustainability.

  Writing case study about bridge collapse

Writing case study about bridge collapse

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