Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. printLine([]).
  2. printLine([H|T]):-
  3. write(H),
  4. write('|'),
  5. printLine(T).
  6.  
  7. printBoard([]).
  8. printBoard([H|T]):-
  9. write('|'),
  10. printLine(H),
  11. nl,
  12. printBoard(T).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement