Write a program that will calculate the sum of the squares of the consecutive numbers starting from 1 to the number, user entered. Note: you can use either a "while loop" or a "for loop" to do it.