Given a number N, print sum of all even numbers from 1 to N.

Given a number N, print sum of all even numbers from 1 to N.
Input Format :
Integer N

Output Format :
Required Sum 

Sample Input 1 :
 6

Sample Output 1 :
12

SOURCE CODE :

Post a Comment

0 Comments