Interactive programming

From Rosetta Code