Fix it
Every program here prints the wrong thing. The question is not whether it is right or wrong: it is whether you can fix it. Read it, say what it prints now, then change one line so it prints what it should. Before your version runs, you predict it too.