The document provides 4 facts and rules to represent in Prolog syntax: 1) Ram and Ravi are friends, 2) Rani loves to play Piano, 3) Rohit is happy if he listens to music, 4) Kunal will go to play if school is closed and if he is free.
The document provides 4 facts and rules to represent in Prolog syntax: 1) Ram and Ravi are friends, 2) Rani loves to play Piano, 3) Rohit is happy if he listens to music, 4) Kunal will go to play if school is closed and if he is free.
The document provides 4 facts and rules to represent in Prolog syntax: 1) Ram and Ravi are friends, 2) Rani loves to play Piano, 3) Rohit is happy if he listens to music, 4) Kunal will go to play if school is closed and if he is free.