2- Write a prolog program to reverse a list. For example
?- reversea([a,b,c,d],Q).
Q = [d,c,b,a]
Please also manually trace the above example
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.