AlexandreBrown / PrologDivision

Division implemented in Prolog with substraction only

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PrologDivision

Division operator implemented in Prolog with substraction only.

Division Result

  1. In a terminal, launch prolog by using the prolog command.
  2. Load the file [div].
  3. Perform divisions using the div/4 function.
    • First argument is dividend.
    • Second argument is divisor.
    • Third argument is division result.
    • Fourth argument is division rest.

About

Division implemented in Prolog with substraction only

License:MIT License


Languages

Language:Prolog 100.0%