rhiannonlm4939 rhiannonlm4939
  • 21-03-2024
  • Computers and Technology
contestada

What is the output when the following Prolog goal is executed?

?- member(x,[81, 25, 9, 69]), y is x * x, y < 400.

A) x = [81, 25, 9, 69]
B) x = 9, y = 69
C) x = 9, y = 81
D) x = 81, y = 400

Respuesta :

Otras preguntas

A box contains bags of crisps. Each bag of crisps weighs 25 grams. Altogether, the bags of crisps inside the box weigh 1 kilogram. How many bags of crisps are
The graphs Ax + By: 18 and Ax - By: 6 intersect in (3,-2). He finds A and B.please I thank you much...:)
The area of the garden is 160 meter squared.Suppose the length of the garden is 3m more than twice its width.What is the length of the garden?
Determine the equation of the line, in point-slope form, that will get your spacecraft from Point A (0,3) to Point B (-3,0)
After Pennsylvania experienced its oil boom in 1859, three other states discovered vast oil reserves. Name two of these states.
Can you answer these? I don't understand this part either. Thanks
Exercises1. The sum of both numbers of a number is 14. On having exchanged the numbers of the tens with that of the units, the number increases in 18. It finds
Walt made an extra $7000 last year from a part-time job. He invested part of the money at 10% and the rest at 7%. He made a total of $580 in interest. How much
Which pair of angle measures satisfy the condition sin J = cos K?
given the equation of a circle x^2+y^2-10x+4y+13=0. find its center and radius. i am having trouble please help