The idea is to get used to file input and output streams.If that makes you angry, sorry,

but I could still use some help.
Getting down to buisness, what this code does is, accept a file read it print it and then edit it ,IF THE USER WILLS SO.
The complication probably arises because I wanted to make sure the program does not terminate incase the user plans to input an alphabet incase of an int.
Which is why you'll probably see many do ......whiles.