-1
我有事實:Prolog的事實和查詢
studies(it, da). // IT branch studies the module DA
studies(it, pm).
studies(ie, pm).
studies(it, plc).
studies(it, se).
studies(cs, plc).
studies(cs, da).
studies(cs, se).
我需要編寫查詢:
多少科目做CS的學生學習?
哪個分支研究科目pm和plc?
No..these是事實.. – Hacker688