Hello,
Suppose we have this example (my real problem has 45 regions here is only 7):
%Coloring Australia
coloring(Wa,Nt,Sa,Ql,Nsw,V,T):-
%Country borders relation to other Countries
different(Wa,Nt),
different(Wa,Sa),
different(Nt,Wa),
different(Nt,Sa),
different(Nt,Ql),
different(Sa,Wa)...
Hello,
I just want to know If it's a way to print the Ok.
I cant understand why it doesnt show up.
---------------------------------------------------------
testpass(test,test,blue,ten,zer,ben).
start:- write('username:'),
read(A),nl,
write('password :'),
read(B),nl,
number(0)...
Hello,
I'm trying to create a menu with choices.
When the user will press 1 will call the option1.
When the user will press 2 will call the option2.
.
.
.
else will system halt.
When the user will press 1 will call the option1.
my code works for only 2 choices:
when I try to add more I still...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.