prolog examples
- Prolog Tutorial [PDF]
- Prolog Examples
- Basic Structure of Prolog [ai-vp-01.pro]
- Read and Compare two numbers [ai-vp-02.pro]
- Compute Average of two Numbers [ai-vp-03.pro]
- Reads two integers and report them in Ascending Order [ai-vp-04.pro]
- Complex Example [ai-vp-05.pro]
- More complex Example [ai-vp-06.pro]
- Switch-Case Simulation Example [ai-vp-07.pro]
- Backtracking
- Calculate sequential Sum from N to 0 [ai-vp-08.pro]
- Calculate Factorial of a Number [ai-vp-09.pro]
- Lists:
- List Example 1 [ai-vp-10.pro]
- List Example 2 [ai-vp-11.pro]