Exercise 5 INPUT and OUTPUT (combine)

hei hei hei..
nice to meet you again...
same like last tutorial...
we will continuing last exercise, now we will learn about combine..
let's it...
1. Firstly, make a new rules in notepad like as below.
2. Then, save it with name exercise5no4.pl, don't forget as the format is .pl.
3. After that make a new file in notepad like as below.
4. same like before step, now we make a new file like as below.
5. Don't forget save it in .txt format.
6. After that consul exercise5no4.pl in your SWIprolog.
7. last write the command like this " ?- combine('in1.txt','in2.txt','out.txt'). "
8. Finally the result is
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

0 Response to "Exercise 5 INPUT and OUTPUT (combine)"

Posting Komentar