You are on page 1of 1

Give the Prolog syntax to store the following facts and rules:

i) Ram and Ravi are friends


ii) Rani loves to play Piano
iii) Rohit is happy if he listens to music.
iv) Kunal will go to play if school is closed and if he is free.

You might also like