Solve the following problems from the text
The due date is Oct. 13
If you do not know C, you can write the program in java and assume an array instead of memory locations