Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Questions regarding Prolog
03-01-2013, 01:29 AM,
Post: #1
Questions regarding Prolog
Assalamualaikum,

Saya ada satu soalan berkaitan dengan Prolog...

Code:
append([],List,List).

append([Head|Tail],List2,[Head|Result]):-


    append(Tail,List2,Result)

queries dia...

Code:
?- append([a,b,c],[one,two,three],Result).
boleh tak korang terangkan mcm mana boleh dapat jawapan dia...
Reply
03-01-2013, 01:00 PM,
Post: #2
RE: Questions regarding Prolog
Code lain kali bubuh dalam tag [code]

TQ.

  ▲
▲ ▲
Spoiler:

surah Ali Imran Ayat 31

Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [WTA] masalah prolog Timon 2 697 27-12-2011, 06:57 PM
Last Post: Timon
  Prolog... bahasa AI x silap aku Timon 1 697 01-12-2011, 11:13 PM
Last Post: s3m00t

Forum Jump: