justenoughtobedangerous
Member
- Joined
- Feb 13, 2009
- Messages
- 12
- Programming Experience
- 3-5
Hi,
I am working on a little golf program and I need some help. I have to evaluate 5 scores, drop the high and low scores then average the three remaining ones. The result will be the Handicap. Note that there will be high scores with the same value as well as low scores with the same value.
Example:
Round_1 = 36
Round_2 = 43
Round_3 = 42
Round_4 = 36
Round_5 = 43
Need to drop one 36 and one 43
I am pulling the results from a datagridview. (No help needed there!)
Thanks in advance,
I am working on a little golf program and I need some help. I have to evaluate 5 scores, drop the high and low scores then average the three remaining ones. The result will be the Handicap. Note that there will be high scores with the same value as well as low scores with the same value.
Example:
Round_1 = 36
Round_2 = 43
Round_3 = 42
Round_4 = 36
Round_5 = 43
Need to drop one 36 and one 43
I am pulling the results from a datagridview. (No help needed there!)
Thanks in advance,