Can someone please help me with this. I'm trying to read in 10 names into an array. I want to setup three different arrays, one for the first name, one for the last name and the other for address. My input looks like the following:
Bruce Wayne The Batcave
Sonny Bono 10 Mayor Street
Clint Eastwood 2020 Make My Day Drive
Jimmy Carter 1010 Peanut Street
Mike Tyson 2525 Robin Court
Mickey Mouse 6000 Mickey Lane
Abe Lincoln 900 Booth Street
Scrooge McDuck 7011 McDuck Drive
Ed Koch 125 E.125th Street
Barney Rubble 1001 Old Stone Age Road
I'm reading it from a txt file. Can someone please help me set up the array.