INPUT and OUTPUT in Prolog ch.3
Posted by madmathc pada Desember 22, 2009
This is the last post of this session….
(4) Example I make this file..
And the second file …
Next, type this rule… and save it in .pl
Consult it in Prolog. Then type this..
The result is..
Just it? No, look at your computer. You will find file with name out1.txt. Open it and look…
(5) You can try to type this. Save it in test1.txt
Next type this and save in test2.txt
Type this rule and save it in compare.plThen, consult it in PROLOG. Next type this…
Then the result is….
Finally, this chapter have finished. Thanx for coming… Don’t forget to give a comment.:-)