Jubecron Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Jubecron Forum

The JUBECRON forum - Jamaican Chat, Dating, Games, Anime, and just meeting people.
 
HomePortalSearchLatest imagesRegisterLog in

 

 prolog lab 3

Go down 
AuthorMessage
PAPoUCH
Super Elite Lv2: Jr. Vet
Super Elite Lv2: Jr. Vet
PAPoUCH


Male
Number of posts : 1860
Age : 37
Mood : prolog lab 3 Sunshine
Points : 298
Registration date : 2007-10-12

Character sheet
Weapon: Crowbar
Class: Thief Thief
HP:
prolog lab 3 Left_bar_bleue50/50prolog lab 3 Empty_bar_bleue  (50/50)

prolog lab 3 Empty
PostSubject: prolog lab 3   prolog lab 3 Icon_minitimeTue Sep 28, 2010 8:24 pm

% Author: Kevin Stewart 0700410
% Date: 9/28/2010

attraction('Dunns River Fall').
attraction('Dolphin Cove').
attraction('Oasis Craft Market').
attraction('Seville Land Mark').

hotel('Ridge Mount').
hotel('San Sous').
hotel('Rio Family Hotel').

tours('Ridge Mount', 'Dunns River Fall').
tours('Ridge Mount', 'Seville Land Mark').
tours('Ridge Mount', 'Oasis Craft Market').
tours('San Sous', 'Dunns River Fall').
tours('San Sous', 'Seville Land Mark').
tours('San Sous', 'Oasis Craft Market').
tours('San Sous', 'Dolphin Cove').
tours('Rio Family Hotel', 'Dunns River Fall').
tours('Rio Family Hotel', 'Oasis Craft Market').
tours('Rio Family Hotel', 'Dolphin Cove').

travel_plan(X):- X==michael, hotel(Y), tours(Y,Z), attraction(Z), nl, write(X),
write(' can make booking at '), write(Y), write(' to visit '), write(Z), fail.
travel_plan(X):- X==stacy, hotel(Y), tours(Y, 'Dolphin Cove'), tours(Y, 'Seville Land Mark'), nl,
write(X), write(' can make booking at '), write(Y), write(' to visit Dolphin Cove and the Seville Land Mark'), fail.
travel_plan(X):- X==johnny, hotel(Y), tours(Y, 'Dunns River Fall'), tours(Y, 'Dolphin Cove'),
nl, write(X), write(' can make booking at '), write(Y), write(' to visit Dunns River Fall and Dolphin Cove'), fail.
Back to top Go down
http://www.penngosquad.forumotion.com
 
prolog lab 3
Back to top 
Page 1 of 1
 Similar topics
-
» Prolog Lab 2
» Prolog Lab 1
» Prolog Lab 5
» Prolog Exercise 1
» Prolog Exercise 3

Permissions in this forum:You cannot reply to topics in this forum
Jubecron Forum :: School :: Schools (General)-
Jump to: