1.
write like this in your notepad with name output value.pl
and than consule in your prolog then write 'output_values(6,12).' and enter.
2.
write like this in your notepad with name or.pl
open your prolog and consult with or.pl, then write go. in your prolog and th eresult like this below:
3.
write like this in your notepad with name person.pl
and then consult on prolog, and write 'see.'. And the result is
done.
Tidak ada komentar:
Posting Komentar