cyberman111 0 Newbie Poster

Please help!!!!
ok
the first file is this

dave 734
bob 313
carol 248
mary313
ted248


the second file is
bob tuesday
carol monday
ted sunday
alice wed
dave thurs

the output has to be

name on call phone
carol mon 248
bob tues 313
alice wed

etc...

i need to put this in one file using looop structure
i have no clue how to do this
i made the 2 files and now im just confused and really depressed. i cant seem to fig out wat to do next

like how to i scan the files and put them in that order monday- friday