The solution in Prolog

Affiliates: 0,03 $ — how to earn
Pay with:
i agree with "Terms for Customers"
Sold: 0
Refunds: 0

Uploaded: 30.01.2017
Content: Prolog_lab1.zip (11,04 kB)

Seller

komogen01 information about the seller and his items
offlineAsk a question

Seller will give you a gift certificate in the amount of 4,1 RUB for a positive review of the product purchased..

icon-delivery

Delivery Guaranteed

If you are unhappy with a product you purchased, the seller will return your money within 2 days from the moment of purchase.

Description

The task:
Bear faithful and Katya Wrong-bride and groom. They met on Friday afternoon.
1. Bear reproachfully told Katie that tried in vain to call her on Monday, Tuesday, Wednesday and Thursday. Katie never had a home!
2.-I must have been her friends, -opravdyvalas Katya.-You know that they have four: Olga, Pirie, Rosie and Shari. Here I am and I go to them sometimes.
-And All four days you spent with your girlfriends?
3.-Well, of course! After all, I have four friends, and every day I visited another.
-Why Could not go to all four in one day?
4.-Because they are not too fond of each other, and I had to come up with for each its "program" visit. The one we went to the barber shop to the hair styling, on the other visited the dressmaker, the third entirely met by chance in the library, and on the fourth long ago agreed to go on the boat station in Rome promenade and boating. However, what do you care? I could not get through, so what?
Bear resentfully said nothing, but his doubts plaguing not dissipated. Kate tried in vain to convince him, the first four days of the week exactly as told -Mishka decided a good thought, get to the truth.
What information he is possessed?
5. All the first four days he called Kathy from the beach. Shari accidentally all those days spent on the beach.
6. Piri and Rosie can not be accused of anything bad. But today, on Friday, they complained to each other that their hair in a terrible mess: at least a week the girls were not in a hairdressing salon.
7. To admit the truth, Tuesday bear went to the movies with Olga. There they met a girl who was going along with Kate go to the dressmaker, but she suddenly went somewhere.
8. Kate is in a barber shop in the morning during the second half of the week (on Thursdays, Fridays and Saturdays), whatever it was engaged.
9. No Peary nor Rosie never in the library.
10. On Tuesdays from Roman waterfront holiday.
What about the "program" Katie incorrect?

Additional information

The archive contains the source code of the program in Prolog. The lines of code are comments, so it will be much easier to defend this work the teacher.

Feedback

0
No feedback yet.
Period
1 month 3 months 12 months
0 0 0
0 0 0
Seller will give you a gift certificate in the amount of 4,1 RUB for a positive review of the product purchased..
In order to counter copyright infringement and property rights, we ask you to immediately inform us at support@plati.com the fact of such violations and to provide us with reliable information confirming your copyrights or rights of ownership. Email must contain your contact information (name, phone number, etc.)