CGPA; > 0 and <
2.00 as "poor", >= 2.00 and < 3.00 as "good" and >= 3.00 as
"excellent". The example of
output for the Prolog code is as follows:
?- run.
Enter your CGPA: 1.60.
Your CGPA is poor.
?- run.
Enter your CGPA: 2.00.
Your CGPA is good.
?- run.
Enter your CGPA: 3.80.
Your CGPA is
excellent.