How do I write prolog program which adds up only the positive numbers?

后端 未结 0 753
北恋
北恋 2020-12-20 23:13

I am trying to learn prolog and this is a small program I need, however, I cannot figure out how to do this.

Could anyone help me out please?

We have possum(S,

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