Ex2.4 completed

working for string input in file
Ex2.5

Finished, works with string inside program