Java Program to calculate sum of ODD numbers till N

Description

Get input n and calculate the sum of odd numbers till n
Input:
5
Output:
The Sum Of odd Number Till N:9(1+3+5)

Solution

Unable to open file!