daily pastebin goal
40%
SHARE
TWEET

prolog

a guest Feb 18th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. afis([]).
  2. afis([Q|W]):-write(Q),afis(W).
  3. inv([]).
  4. inv([A|B]):-inv(B),write(A).
  5. list([],[]).
  6. list([C|D],[E|F]):-inv(D),write(C),write(E),afis(F).
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top