I'm doing some exercises to learn Prolog programming. However, I can't figure out how to do this: I need to solve this equation with a prolog program (click here).
The code I already wrote:
solveQuadratic([], []).
solveQuadratic([a,b,c], Result) :-
The 'Result' has to be a list with 2,1 or 0 elements that shows the zero points of this equation.
Thank you!