def palindromic_age_check(diff, show=False):
    """
    compute the ages that are palindromic with a difference of fixed years, and 
    return the count of occurrences in a century

    Parameters:
        diff :int  -> number of the years between ages
        show :bool -> indicate if the ages will be printed
    """
    count = 0
    for i in range(1, 100):
        child_age = str(i).zfill(2)
        mon_age = str(i + diff).zfill(2)
        if child_age[::-1] == mon_age:
            if show:
                print('child {}, mother {}'.format(child_age, mon_age))
            count += 1
    return count