mardi 25 mars 2014

How to do arithmetic and or operations in prolog?


Vote count:

0




In C, given two numbers like this:



1010
0101


I can do something like this:



0000 == 1010&&0101;
1111 == 1010||0101;


Then is it possible to use Prolog do the same thing..?


Thank you!



asked 33 secs ago






Aucun commentaire:

Enregistrer un commentaire