a weird problem with my code on writing & reading from file

Printable View