arya2004/artificial-intelligence
🧠 Build a Prolog Expert System for Diagnosing Common Cold vs Flu
Offen
#10 geöffnet am 04.10.2025
expert-systemgood first issuehacktoberfestprolog
Repository-Metriken
- Stars
- (2 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
🧠 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.