Help please!...
- From: EDUARDO <eduardoluizwilhelm@xxxxxxxxx>
- Date: Wed, 14 Apr 2010 12:34:12 -0700 (PDT)
Who I do this exercise in PROLOG:
REFRIGERATOR:
- Sets a basic fact of items, goods, where each item must have a
volume
and an associated cost.
- Set a model refrigerator with a capacity in liters.
- Create the following rules:
verify the amount of volume of items is greater or less than the
refrigerator, and
if so send a message.
identify the consumer's refrigerator. The refrigerator consumes
12kw / h with 30% of its
capacity being used. ¡The consumption depends on how much space is
being
used for the goods stored in the refrigerator.
show the total value of products is £ in the refrigerator.
Send a message to buy a new refrigerator if it is being
used more than 90% of the capacity of the refrigerator. Otherwise show
the river ¡
Message: ok, refrigerator with good use.
Thank.
Edu . Brazil.
.
- Follow-Ups:
- Re: Help please!...
- From: A . L .
- Re: Help please!...
- Prev by Date: Re: SWI prolog slackware build, epic fail
- Next by Date: Re: Help please!...
- Previous by thread: SWI prolog slackware build, epic fail
- Next by thread: Re: Help please!...
- Index(es):
Relevant Pages
|