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.

In C#, please add comments so I can understand it better. This

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

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!