chapter3_program_4