Split homework7.c into func.c, main.c, and prgm.h for the separate files of this program.