Computers and Technology
Computers and Technology, 03.03.2020 04:18, ptrlvn01

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).

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, hannahliebl2000
What is the largest decimal number that can be represented by a binary number with 4 place values? (remember, each place in a binary number has a value of a power of 2, starting in the ones place with 20.)
Answers: 3
image
Computers and Technology, 23.06.2019 06:00, sebcbal
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
image
Computers and Technology, 23.06.2019 21:00, tiffg2588
Will this setup result in what kathy wants to print?
Answers: 2
image
Computers and Technology, 24.06.2019 16:00, dareaalcaam111
What is a dashed line showing where a worksheet will be divided between pages when it prints? a freeze pane a split box a page break a print title
Answers: 1
Do you know the correct answer?
You are to design class called Employee whose members are as given below:

Data members:...

Questions in other subjects:

Konu
Mathematics, 03.10.2019 13:50
Konu
Mathematics, 03.10.2019 13:50