metric program

I bought a book by john craig true basic programs and sub-routines and cant get a program to run. it is mcnvrsns.tru, p.4. also a separate p.8 mcnvrsns. I typed these in separately,not joined together. Does anyone have this book and do you know if the both programs need to be joined together and how this is done? i mean do they need to be one program or two; one being a subroutine. but it doesnt say anything about this in the text.thank you in advance. Joseph Dobash