I think your note taking wasn't so good. And you say there's a printf() statement in the code you posted, but I see a print(). Try playing with the following instead:


do
{
...