Assignment3A: Diagnosis Checker: For years, patients have used websites like WebMD to pre-diagnosis themselves with a variety of illnesses before meeting with a doctor. As you might imagine, medical professionals believe this can lead to incorrect treatment. To combat this, a local hospital has asked you to develop a program that will help patients check if their symptoms match the online diagnosis. You will prompt the user to enter their illness. Based on this input, you will ask them if they are experiencing certain symptoms. Depending on their answer, your program will indicate if the Internet diagnosis is likely to be correct or not. The decision chart is shown below: ● . HGPS O Do they have brittle bones? If no, it is likely not HGPS . If yes, it is possibly HGPS Bokter Syndrome Do they have a Vitamin C deficiency? . If no, it is likely not Bokter Syndrome If yes, are they a sailor? . . Lupus • If no, it is likely not Bokter Syndrome If yes, it is possibly Bokter Syndrome

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Assignment3A:
Diagnosis Checker: For years, patients have used websites like WebMD to pre-diagnosis
themselves with a variety of illnesses before meeting with a doctor. As you might imagine,
medical professionals believe this can lead to incorrect treatment. To combat this, a local
hospital has asked you to develop a program that will help patients check if their symptoms
match the online diagnosis.
You will prompt the user to enter their illness. Based on this input, you will ask them if they are
experiencing certain symptoms. Depending on their answer, your program will indicate if the
Internet diagnosis is likely to be correct or not. The decision chart is shown below:
•
●
●
HGPS
0
Do they have brittle bones?
If no, it is likely not HGPS
■ If yes, it is possibly HGPS
Bokter Syndrome
O
Do they have a Vitamin C deficiency?
If no, it is likely not Bokter Syndrome
If yes, are they a sailor?
.
.
Lupus
.
If no, it is likely not Bokter Syndrome
If yes, it is possibly Bokter Syndrome
Transcribed Image Text:Assignment3A: Diagnosis Checker: For years, patients have used websites like WebMD to pre-diagnosis themselves with a variety of illnesses before meeting with a doctor. As you might imagine, medical professionals believe this can lead to incorrect treatment. To combat this, a local hospital has asked you to develop a program that will help patients check if their symptoms match the online diagnosis. You will prompt the user to enter their illness. Based on this input, you will ask them if they are experiencing certain symptoms. Depending on their answer, your program will indicate if the Internet diagnosis is likely to be correct or not. The decision chart is shown below: • ● ● HGPS 0 Do they have brittle bones? If no, it is likely not HGPS ■ If yes, it is possibly HGPS Bokter Syndrome O Do they have a Vitamin C deficiency? If no, it is likely not Bokter Syndrome If yes, are they a sailor? . . Lupus . If no, it is likely not Bokter Syndrome If yes, it is possibly Bokter Syndrome
O It is likely not Lupus
You may assume that the user will only enter valid input.
You must call the class Assignment3A and put it in a file called "Assignment3A.java".
"Assignment3A.cs", or "Assignment3A.cpp"
Hint: Nested IF statements will be helpful for this assignment.
Sample Output #1:
[WebMD Checker]
What is your suspected illness? HGPS
Do you have brittle bones? Y
It is possible that you have HGPS
Sample Output #2:
[WebMD Checker]
What is your suspected illness? HGPS
Do you have brittle bones? N
It is not likely that you have HGPS
Sample Output #3:
[WebMD Checker]
What is your suspected illness? Lupus
It is not likely that you have Lupus
Sample Output #4:
[WebMD Checker]
What is your suspected illness? Bokter Syndrome
Do you have a Vitamin C deficiency? N
It is not likely that you have Bokter Syndrome
Sample Output #5:
[WebMD Checker]
What is your suspected illness? Bokter Syndrome
Do you have a Vitamin C deficiency? Y
Are you a sailor? N
It is not likely you have Bokter Syndrome
Transcribed Image Text:O It is likely not Lupus You may assume that the user will only enter valid input. You must call the class Assignment3A and put it in a file called "Assignment3A.java". "Assignment3A.cs", or "Assignment3A.cpp" Hint: Nested IF statements will be helpful for this assignment. Sample Output #1: [WebMD Checker] What is your suspected illness? HGPS Do you have brittle bones? Y It is possible that you have HGPS Sample Output #2: [WebMD Checker] What is your suspected illness? HGPS Do you have brittle bones? N It is not likely that you have HGPS Sample Output #3: [WebMD Checker] What is your suspected illness? Lupus It is not likely that you have Lupus Sample Output #4: [WebMD Checker] What is your suspected illness? Bokter Syndrome Do you have a Vitamin C deficiency? N It is not likely that you have Bokter Syndrome Sample Output #5: [WebMD Checker] What is your suspected illness? Bokter Syndrome Do you have a Vitamin C deficiency? Y Are you a sailor? N It is not likely you have Bokter Syndrome
Expert Solution
steps

Step by step

Solved in 5 steps with 5 images

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education