Whats wrong with my program?(writing data into a file)

Printable View