Answered You can hire a professional tutor to get the answer.

QUESTION

Create a class named Directory with members name(string) and number(int).Include the following methods .setdetails()---- to read name and number from...

 Create a class named Directory with members name(string)  and number(int).Include the following methods .

1.setdetails()---- to read name and number  from the keyboard

2. getdetails()---to print the name and number

3. searchnumber()--- this methods accepts a name and displays the corresponding phone number.

4. edit number()—this method accepts a name and change the phone number for this customer.

5. deletenumber()—this methods accepts a name and sets the number to 0.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question