Given 'N' , compute the Sum of natural numbers till N

Given a number 'N' , you have to compute the sum of natural numbers from 1,2,3,4,....N (inclusive).



For Example:
If N=10, 
then SUM = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10
                 = 55  



Implementation:




Output:

Enter the range to calculate sum of natural numbers
10
Sum=55