This program is based on the method of LP given in the appendix to chapter 6 of your text. The program is written in TURBO PASCAL.