Question: In C#, please add comments so I can understand it better. This program needs to simulate a simple medical diagnosis tool using if/else statements and
In C#, please add comments so I can understand it better.
This program needs to simulate a simple medical diagnosis tool using if/else statements and complex conditions, with these possible scenarios:
Don't have a fever and don't have a stuffy nose: Hypochondria
Don't have a fever and have a stuffy nose: Head Cold
Have a fever, don't have a rash, and ear hurts: Ear Infection
Have a fever, don't have a rash, and ear doesn't hurt: Flu
Have a fever and have a rash: Measles
Here is a sample of what it should look like.

Thank You!
Do you have a fever? (y): Y Do you have a stuffy nose? (y): n Do you have a rash? (y): n Does your ear hurt? (y): y Diagnosis: You have an ear infection. Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
