Another method should remove a given symptom from the list


Suppose that we want to help physicians to diagnose illnesses. A physician observes a patient's symptoms and considers the illnesses that could be associated with those symptoms. Design and implement a class PhysiciansHelper that provides a list of those illnesses. PhysiciansHelper should contain a dictionary of illnesses and symptoms. A method should read a file of illnesses with their symptoms into the dictionary. Each line in the file will contain the name of an illness followed by a colon and a comma-separated list of symptoms. For example, one line could be head cold: nasal stuffiness, sneezing, runny nose PhysiciansHelper should maintain a list of symptoms for the current patient. A method should add a symptom to this list and return a list of illnesses that is associated with those symptoms. Another method should remove a given symptom from the list, and a method should clear the patient symptom list

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Another method should remove a given symptom from the list
Reference No:- TGS02196277

Expected delivery within 24 Hours