subject

(2-2) In relatives. pl file, write and add the following rule. ancestor(X, Y) : X is an ancestor of Y Run ancestor(brown, X). Submit all generated result for X by running your program. (2-3) In relatives. pl file, write and add the following rule. descendent(X, Y): X is a descendent of Y Run descendent(david, X). Submit all generated result for X by running your program. (2-4) In relatives. pl file, write and add the following rules. fatherinlaw(X, Y): X is a fatherinlaw of Y Run fatherinlaw(X, Y). Submit all generated result for X and Y by running your program. (2-5) In relatives. pl file, write and add the following rules. niece(X, Y): X is a niece of Y Run niece(X, Y). Submit all generated result for X and Y by running your program. If you need an operation not, use the operator "not" ( \== ), like X\==Y.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:40
Least square fit to polynomial write a function leastsquarefit3pol that solves a linear system of equations to find a least squares fit of a third order polynomial to an experimental data set given as two row arrays. the function leastsquarefit3pol must explicitly solve a set of linear equations and cannot use polyfit. there should be no restriction on the size of the problem that can be solved.
Answers: 1
question
Computers and Technology, 22.06.2019 22:40
In this lab, you complete a python program that calculates an employee's annual bonus. input is an employee's first name, last name, salary, and numeric performance rating. if the rating is 1, 2, or 3, the bonus rate used is .25, .15, or .1 respectively. if the rating is 4 or higher, the rate is 0. the employee bonus is calculated by multiplying the bonus rate by the annual salary.
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
These statements describe lists in presentation programs: a. bullets can be turned off and on. b. bullets cannot be turned off. c. bullet styles, colors, and sizes can be changed. d. lists don't have to use bullets or numbers. e. numbering styles, colors, and sizes can be changed. f. numbers can be turned off and on. g. numbers cannot be turned off. select all that apply
Answers: 2
You know the right answer?
(2-2) In relatives. pl file, write and add the following rule. ancestor(X, Y) : X is an ancestor of...
Questions
question
Chemistry, 29.11.2019 07:31
question
Health, 29.11.2019 07:31
Questions on the website: 13722367