×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# need help pleaze

## need help pleaze

(OP)
Εισάγετε τα ακόλουθα γεγονότα και κανόνες:
/*1*/ a(1).
/*2*/ a(2).
/*3*/ a(3).
/*4*/ a(4).
/*5*/ b(1).
/*6*/ b(2).
/*7*/ b(3).
/*8*/ b(4).
/*9*/ b(2).
/*10*/ b(7).
/*11*/ c(11).
/*12*/ c(12).
/*13*/ c(13).
/*14*/ c(14).
/*15*/ t(Z):- a(Z), b(Z), not(c(Z)).
/*16*/ s(X,Y):- t(X), Y is X+10, c(Y).
Σχεδιάστε το δένδρο υπολογισμού της ερώτησης:
?- s(X, Y).

2)
Έστω τα παρακάτω γεγονότα:
a(b(1)).
a(b(2)).
a(b(3)).
a(b(4)).
a(b(6)).
Δημιουργείστε μία διαδικασία που να τυπώνει στην οθόνη (κάνοντας χρήση της εντολής
writeln(X)) τα b(Υ) όπου Υ άρτιος αριθμός.

### RE: need help pleaze

Hey, write it in English to get answers.

### RE: need help pleaze

(OP)

a(b(1)).
a(b(2)).
a(b(3)).
a(b(4)).
a(b(6)).
Be created a process that it would print in the screen (making use of command
writeln (X)) b ([Y]) where [Y] even number(2,4,6,8,10,...)....[/b]

:):):):):)

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Close Box

# Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!