The following program is designed to solve the following problem: