KeyiaKay5239 KeyiaKay5239 13-12-2022 Mathematics Answered foo(p, 0, p). foo(a, b, c) :- b > 0, d is c b, b1 is b - 1, foo(a, b1, d). for the prolog rules above, give the outputs of the following three (3) goals.