Answer the question
In order to leave comments, you need to log in
How to solve the problem of selecting terms for the desired sum in Prolog?
You need to calculate how many ways you can choose the amount equal to 18, using the following terms: 10,6,1. At the same time, the same terms in a different order are different ways (for example, 10+6+1+1 and 10+1+6+1).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question