Question: C++ visual studio text. file content cold sneezing cold coughing cold achy flu fever flu sneezing flu coughing flu achy leukemia fever leukemia chills leukemia

C++ visual studio

text. file content

cold sneezing cold coughing cold achy flu fever flu sneezing flu coughing flu achy leukemia fever leukemia chills leukemia fatigue leukemia nosebleeds leukemia sweating alzheimer forgetfulness alzheimer confusion celiac diarrhea celiac vomiting celiac fatigue celiac constipation dehydration nausea dehydration dizziness eczema blister

C++ visual studio text. file content cold sneezing cold coughing cold achy

Diagnostic Assist v2.1 Your job is to write a program that would allow us to 1- Display Disease Count 2- Symptom Count by Disease 3- Diagnose 0- Exit What do you want to do: 1 diagnose diseases based on a given symptom. [60] Feature #1 : Display # of Diseases This will display the number of diseases in the system There are7 diseases in the database. NOT the symptoms! 1 Display Disease Count 2- Symptom Count by Disease 3- Diagnose 0- Exit What do you want to do: 2 Notice that diseases are in order in the file- you can take advantage of this. Go through each disease in the system and whenever you see that the current record's disease name is different than the previous record's disease name, then increment a counter. At the end of the loop, counter will holds the number of diseases in the system, right?- There are 3 symptoms for cold There are 4 symptoms for flu There are 5 symptoms for leukemia There are 2 symptoms for alzheimer [60] Feature 2: # of Symptoms per Disease Report There are4symptoms for celiac There are 2 symptoms for dehydration This will display how many symptoms are in the system There are 1 symptoms for eczemea for each disease. 1- Display Disease Count 2- Symptom Count by Disease 3- Diagnose 0- Exit What do you want to do: 3 [100] Feature 3: Diagnose This will ask user for a symptom and display all diseases that have that symptom Here are the requirements What is You may You may have celiac symptom? fatigue leukemia [20] File lO: Make sure to properly read the data from diagnostic.txt at the very beginning of the program. 1-Display Disease Count 2- Symptom Count by Disease 3- Diagnose 0- Exit What do you want to do: 3 [20] Class: Make sure to use a class. The class will need 2 fields. [20] Function: Make sure that each feature is in its own function. Loading the data should also have in its own function. What is You may You may have leukemia symptom? fever flu [20 Indentation and Comments: Make sure that your program is indented and commented properly 1- Display Disease Count 2- Symptom Count by Disease 3- Diagnose 0- Exit What do you want to do: Penalties: -100] if you are using global variables -100] if your program does not compile or crashes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!