how would I write a method to read text file, then add name, delete name, find name. Print out the final file.
for example I have file " customer.txt" like this:
Alex Ford (714)225-6545 20-1-1980
Brad Young (714)543-5443 31-4-1950
David Rooney (615)345-3432 30-10-1991
when add name Christ Gigg with his phone number and birthday, file look like this
Alex Ford (714)225-6545 20-1-1980
Brad Young (714)543-5443 31-4-1950
Christ Gigg (714)434-8765 01-05-1989
David Rooney (615)345-3432 30-10-1991
and so on
Thanks in advance
Start Free Trial