Solved Question 5 Solve Via Recursive Function Using Prolog

Solved Question 5 Solve Via Recursive Function Using Prolog