Have you made any progress? If you still need help, please provide a complete program that we can compile and run to locate the error.