Solved Question 3 Implement Function Using Prolog Define A

Solved Question 3 Implement Function Using Prolog Define A