open_in_new
content_copy
total = 0; k = 1; while (k <= 50){ total += k * k; k++; }