prolog help pls

05f068c6d651620b9e3dfe7aea867f1f
0
prolog11 101 Dec 01, 2006 at 18:48

Hi. I need help starting a prolog program that generates grades based on excuses for late assignments.

The user should enter in their excuse and it should print “Excuse accepted, your grade is an A”

Could someone get me started on how to make the list of excuses, and how to make it generate the grades.

Your help is much much appreciated thanks.

2 Replies

Please log in or register to post a reply.

A8433b04cb41dd57113740b779f61acb
0
Reedbeta 167 Dec 01, 2006 at 21:27

This sounds like a homework problem to me. You should know that we’re not here to help out with homework.

05f068c6d651620b9e3dfe7aea867f1f
0
prolog11 101 Dec 03, 2006 at 18:22

It is not a homework assignment. I havent been to school in 15 years. It is a work assignment. The specifics are to learn how to generate responses based on users input for our testing purposes. I said grades to give an example. Maybe I should have used a product satisfaction module. If a customer inputs the value of a product, the program will generate questions to ask the consumer.

thanks for the help.