Well, this is obviously an educational exercise. The point of the exercise is not to get a program that gives the correct answer, although that would help!, but to get you thinking of the process. No point getting others to give you the process. Study your output; what has to be done to get each figure?;how do you relate that to your current knowledge of cobol?
The problem I have is that people can explain things quickly but I can only comprehend slowly.