PL4, ex10: fix print