in reply to cmd o/p- each line should be stored as each element in an Array?
Welcome to the Monastery, G Nagasri Varma!
Please show us the code you've tried. Without that, it's impossible to tell what's going wrong.