Question: I need to create a program in Prolog that does the following: The evaluation criteria are as follows: The system includes rules to determine the

I need to create a program in Prolog that does the following:
The evaluation criteria are as follows:
The system includes rules to determine the severity of conditions, with at least 7 mild conditions (e.g., colds) and 3 severe conditions (e.g., heart attack).
The system can receive input from the user in the form of yes or no responses, without asking repetitive questions. For example, if the user indicates that they do not have any pain, the system will not continue to ask about specific pains.
The system lists over-the-counter medications to treat the symptoms of mild conditions and recommends going directly to medical services for severe conditions. The modeling should include associations through rules considering medications, symptoms, allergies, and contraindications.

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 Programming Questions!