fixed scan3.c, scanf works