Let's learn about Output and input
1. Open your notepad and write like this below and consult at prolog
Than write makelower on Prolog, and than enter. Write a sentence and the sentence is up to you.
and then enter.
2. Open your notepad and write like this below and consult at prolog
than write this below in new wordpad and write copyterms(‘Infile.txt’,'Outfile.txt’).
in prolog.
and the result is
and then make a file name testa.txt, and write ('testa.txt'). on prolog.
and the result is
4. Open your notepad and write like this below and consult at prolog
and then make a new file name In1.txt
make a file name in2
And then write combine(‘in1.txt’,'in2.txt’,'out.txt’). on prolog, and the result is
5. Open your notepad and write like this below and consult at prolog
make a new file,
and then write compare(‘1.txt’,'2.txt’). in prolog, and the result is
Tidak ada komentar:
Posting Komentar