Search
Finish the method definition below.
Given a number n, the method should return the sum of all odd numbers from 1 to n.
n