A SERVICE OF

logo

Programming your calculator
10
SEARCH
Purpose
To search systematically through a range of values in order to solve a problem.
Operation
In its present form, the program checks each of the numbers from 10 to 100 in turn to
see whether any of them satisfy the following condition:
The product of the tens and units digit, added to the sum of the tens and units digit,
gives the original number.
When the program is run, any numbers satisfying the condition are printed. Press
to continue after each answer.
Not all problems have solutions, of course.
This program can be modified, in order to answer different questions, by changing the
first four lines.