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