Home » questions » i need help in c++ programming...?
i need help in c++ programming...?
i need to make a program that will scan the number n and then output the sum of the squares from 1 to n. thus, if the input is 4, the output should be 30 because:
1²+2²+3²+4²
1 + 4 + 9+ 16
=30
hope anyone there can help me with this....

Answers
Nikhil G
On 2006-08-09 03:22:16
Samvit
On 2006-08-09 03:23:55
k_saravappa81
On 2006-08-09 03:45:39
Browse Questions