arya2004/artificial-intelligence

馃 Build a Prolog Expert System for Diagnosing Common Cold vs Flu

Open

#10 opened on Oct 4, 2025

聽(0 comments)聽(0 reactions)聽(0 assignees)Python聽(4 forks)auto 404
expert-systemgood first issuehacktoberfestprolog

Repository metrics

Stars
聽(2 stars)
PR merge metrics
聽(PR metrics pending)

Description

馃 Prolog Expert System: Cold vs Flu

Create a rule-based system in Prolog to diagnose whether a patient is more likely to have a common cold or influenza, based on symptoms like:

  • Fever
  • Body aches
  • Runny nose
  • Cough
  • Fatigue

馃搧 File to be created:


src/06_expert_system/cold_vs_flu.pl

Use ask() style user interaction or assert predicates. Document your rules with comments.

Contributor guide