in reply to Pseudocode for table data
We do not do homework here, and we're not a free code-writing service either.
You need to come up with the code yourself, then ask questions based on the specific issues you encounter along the way.