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

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