Topic: Mathematics Problem / Level: beginner

Problem: Create a program to calculate the sum of all perfect squares up to n.

Run the code to see the output here...