24. file i/o
24. file i/o: remove newline char at fgets input