Thank you very much for all you doing and i want all the best for you, I am beginner in pro log and excuse me if i have some simple questions, Please help me again in following code if it is possible:
I have 5000 facts same as
decision(admin,married,highschool,no,58,no,no)
if i want use a user predicate (decision) in the following code, What can I do? also my questions from rule-set are done with decision predicate and input variables in decision(X1,X1,)
Thank you
main :- statistics(cputime, T0),
decision(X1,X2,X3,X4,X5,X6,Y),
statistics(cputime, T1),
T is T1 - T0,
format('CPU time: ~w~n', T).
Since your questions and errors indicate that you are very very new to Prolog you need to learn the basics. I and many here do not have the time to teach you Prolog.