Kodları lütfen aşağıdaki butonları kullanarak renklendirin. Örnek: <php> echo "Selam Dünya"; </php>
Yardım
karakter kaldı

PROLOG da bu soruyu nasıl kodlarım?

Arthur is a very rich man living in a castle with his four servants namely Sebastian, Fernando, Rosa and Jennifer. However he was found dead last Monday in his bedroom. Doctors say that footprints in his room show that he was killed by a man. On Monday, Fernando and Rosa were on vacation. Write necessary prolog codes which gives the right answer to “killed(X,Arthur)” query.
Hint: You have to write serves (), male (), female () and workingOnMonday() relation.
+0
-0
Cevaba KatılıyorumKatılmıyorum
Cevap Yaz Yorum Yaz Arşivime Ekle Takip Et

Cevaplar

Hiç cevap bulunamadı. İlk cevabı siz yazın.