Mention Why You Have To Use “is” Instead Of “=” In Prolog When It Comes To Applying Calculation Logic?

DWQA QuestionsCategory: PrologMention Why You Have To Use “is” Instead Of “=” In Prolog When It Comes To Applying Calculation Logic?
Editor Staff asked 11 months ago

Mention Why You Have To Use “is” Instead Of “=” In Prolog When It Comes To Applying Calculation Logic?

1 Answers
Editor Staff answered 11 months ago

“=” triggers unification in Prolog
“is” triggers arithmetic evaluation in Prolog
Adv Java Tutorial