PGM05B - Java Program to find the sum of odd numbers from 1 to n