7.7 Explanation of Subroutines: Inquiry Routines