summaryrefslogtreecommitdiff
path: root/prolog/problems/clp_fd/puzzle_momson_2/en.py
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/clp_fd/puzzle_momson_2/en.py')
-rw-r--r--prolog/problems/clp_fd/puzzle_momson_2/en.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/prolog/problems/clp_fd/puzzle_momson_2/en.py b/prolog/problems/clp_fd/puzzle_momson_2/en.py
new file mode 100644
index 0000000..8fa8a1f
--- /dev/null
+++ b/prolog/problems/clp_fd/puzzle_momson_2/en.py
@@ -0,0 +1,9 @@
+id = 152
+name = 'puzzle_momson/2'
+slug = 'age puzzle: mom & son'
+
+description = '''\
+<p>The sum of ages of mother and her son is 66. The mother's age is the son's age reversed. How old are they?</p>
+<p>Write the predicate <code>puzzle_momson(M, S)</code> that finds the ages of mother <code>M</code> and son <code>S</code>.</p>'''
+
+hint = {}