Answered step by step
Verified Expert Solution
Question
1 Approved Answer
+-Doctor0 - employeeld: int + Employee(string.string,int,int) +getEmployeeld(): int + checkStarvation(): bool + checkPatient(Patient): void +-Employee0 extends Employee Doctor + Doctor(string,string.int,int) + checkPatient(Patient): void name:
+-Doctor0 - employeeld: int + Employee(string.string,int,int) +getEmployeeld(): int + checkStarvation(): bool + checkPatient(Patient): void +-Employee0 extends Employee Doctor + Doctor(string,string.int,int) + checkPatient(Patient): void name: string surname: string age starvation Rate: int +HealthCenterInfo(string,string,int) + getName(): string + getSurname(): string getFullName(): string extends + getStarvationRate(): int + setStarvationRate(int): void + checkStarvation(): bool + -HealthCenterInfo() HealthCenterInfo extends Nurse + Doctor(string.string.int,int) + checkPatient(Patient): void +-Nurse() extends Patient diseaseName: string + Patient(string.string.int.string) + set DiseaseName(): void + checkStarvation(): bool + takeACare(): void +-Patient()
Step by Step Solution
★★★★★
3.56 Rating (153 Votes )
There are 3 Steps involved in it
Step: 1
SOLUTION CODE include Using namespace std Class HealthCent...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started