displays the sum of integer numbers from 1 to n-1 code example
Example: Which block of code will sum the numbers from 1 to n (including n) and store it in the variable "sum"?
int sum = 0;
for (int count = 1; count <= n; count++) {
sum = count;
}