This is a discussion on Linked list within the C Programming forums, part of the General Programming Boards category; hello...
Last edited by johnhuge; 09-23-2011 at 08:51 PM.
How do you know how many pages are in a stack of paper? Go through them one at a time keeping count.
If each page has a number written on it, how do you average those numbers? Go through them one at a time, keeping a count and a sum. Then do some division.
Hope is the first step on the road to disappointment.
thanks for your reply can you give me an example on how to keep count on every page.Also how would i pass in the balance in the link list to the function to take the average.
John... please put your code back up in message #1 ... It's beyond bad form to go deleting stuff like that. You deprive others of the chance to learn from it!
EDIT: What is this a freaking epidemic?