Following is a demo of the Extra Credit program.
?- solve. ERROR: Unknown procedure: solve/0 (DWIM could not correct goal) ?- Warning: c:/users/prsni/onedrive/desktop/cog366worksite/prolog/extra_credit.pl:4: Warning: Redefined static procedure month/1 Warning: Previously defined at c:/users/prsni/onedrive/desktop/366 assignments/fivesister.pl:4 Warning: c:/users/prsni/onedrive/desktop/cog366worksite/prolog/extra_credit.pl:10: Warning: Redefined static procedure sister/1 Warning: Previously defined at c:/users/prsni/onedrive/desktop/366 assignments/fivesister.pl:10 Warning: c:/users/prsni/onedrive/desktop/cog366worksite/prolog/extra_credit.pl:16: Warning: Redefined static procedure day/1 Warning: Previously defined at c:/users/prsni/onedrive/desktop/366 assignments/fivesister.pl:16 ERROR: [Thread pce] c:/users/prsni/onedrive/desktop/cog366worksite/prolog/extra_credit.pl:69:37: Syntax error: Operator expected Warning: c:/users/prsni/onedrive/desktop/cog366worksite/prolog/extra_credit.pl:71: Warning: Redefined static procedure tell/3 Warning: Previously defined at c:/users/prsni/onedrive/desktop/366 assignments/fivesister.pl:71 Warning: c:/users/prsni/onedrive/desktop/cog366worksite/prolog/extra_credit.pl:75: Warning: Redefined static procedure all_different/1 Warning: Previously defined at c:/users/prsni/onedrive/desktop/366 assignments/fivesister.pl:75