Kindly solve the following problem statement:
Algorithm and program to find sum of the following series: 1^2 + 2^2 + 3^2 + …+N^2.
(Program using c++)
@codermaster_12
There is a formula u find the sum of squares of n natural numbers.
which is :-
(N*(N+1)*(2*N +1))/6
1 Like