summaryrefslogtreecommitdiff
path: root/prolog/problems/clp_fd/puzzle_momson_2/en.py
blob: b9b26cbb02d81c0156774298611216a86aade385 (plain)
1
2
3
4
5
6
7
8
9
10
# coding=utf-8

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 = {}