Arithmetic in Prolog - Multiples of a number

后端 未结 0 1565
遥遥无期
遥遥无期 2021-02-05 03:16

I have a problem with my so far written code.

I want to create a function "multiples(X, N, R)" where R is a list containing all multiples of X from X to X * N.<

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