summaryrefslogtreecommitdiff
path: root/prolog/problems/clp_fd/puzzle_momson_2/en.py
blob: 0c6fa8cb0eb2ee53b2a50dd50dc68b8f5c479dc8 (plain)
1
2
3
4
5
6
7
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 = {}