2. Create a class: Doctor, with private data members: id, name, specialization and salary with public member function: get_data () to take input for all data members, show_data () to display the...

Question is in the image plz send the solution ?2. Create a class: Doctor, with private data members: id, name, specialization and salary<br>with public member function: get_data () to take input for all data members, show_data<br>() to display the values of all data members and get specialization () to return<br>specialization. Write a program to write for detail of n doctors by allocating the<br>memory at run time only.<br>

Extracted text: 2. Create a class: Doctor, with private data members: id, name, specialization and salary with public member function: get_data () to take input for all data members, show_data () to display the values of all data members and get specialization () to return specialization. Write a program to write for detail of n doctors by allocating the memory at run time only.

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here