This program fragment declares variables n, i, and sum, initializes sum to 0, then uses a for loop to iterate from 1 to n, adding expr to itself on each iteration and storing the result back in expr, but without assigning the output to the sum variable.
This program fragment declares variables n, i, and sum, initializes sum to 0, then uses a for loop to iterate from 1 to n, adding expr to itself on each iteration and storing the result back in expr, but without assigning the output to the sum variable.
This program fragment declares variables n, i, and sum, initializes sum to 0, then uses a for loop to iterate from 1 to n, adding expr to itself on each iteration and storing the result back in expr, but without assigning the output to the sum variable.