The sum of the square of the first n natural numbers is calculated by the formula sum=n...

The sum of the square of the first n natural numbers is calculated by the formula sum=n (n+1)*(2n+1)/5. Read value of n through the keyboard and calculate the sum of square of first n natural numbers.