Read file with special parameters

I need to read a file that has:

Bob boy
george boy
Jessica girl
patty girl
...

I have to read each line and say Bob is a boy. So I read the first word and add 'is a' then read next word girl/boy.

Then do again for all lines.
Topic archived. No new replies allowed.