99 bottles of beer in Prolog

前端 未结 0 1931
误落风尘
误落风尘 2020-12-22 07:33

The following code and query doesn\'t work:

bottles(X) :-
    write(X), write(\' bottles of beer on the wall,\'), nl,
    write(X), write(\' bottles of beer,\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题