subject

You are to design class called Employee whose members are as given below:

Data members:
char *name
long int ID
A constructor:
// initialize data members to the values passed to the constructor
Methods:
get Person (name, id) //allows user to set information for each person
A function called Print () that prints the data attributes of the class.

Show the working of class in a driver program (one with main).

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
question
Computers and Technology, 24.06.2019 08:10
Where are american poets found in the dewey decimal system
Answers: 1
question
Computers and Technology, 24.06.2019 21:30
What need most led to the creation of the advanced research projects agency network? darpa wanted scientists to be able to collaborate and share research easily. darpa wanted american and russian politicians to be able to communicate. darpa wanted astronauts to be able to contact nasa and the white house. darpa wanted factory owners to be able to coordinate supply chains.
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
What are the 4 basic items that are traded throughout the world?
Answers: 1
You know the right answer?
You are to design class called Employee whose members are as given below:

Data members:...
Questions
question
Mathematics, 17.09.2019 15:50
question
English, 17.09.2019 15:50
Questions on the website: 13722363