Easy
Sum of Odd Numbers
Read n and print the sum of all odd numbers from 1 to n using a for loop.
Input
One integer n ≥ 1.
Output
One integer.
Sample 1
Input
10
Output
25
Sample 2
Input
1
Output
1
Output appears hereOne integer n ≥ 1.
One integer.
10
25
1
1
Output appears here