Calculating the average of only the odd numbers : <p>Given the case where I need to sum all the odd numbers from 1 to 100 and in the end print the result and also the average, how do I get to the average, once it's only adding the odd ones, so I cannot just divide it for the upperbound, which is 100? Many thanks!</p>
