Answer:
START
DECLARE total_sum = 0
DISPLAY "Enter a number: "
GET user_input
FOR i from 1 to user_input:
SET total_sum = total_sum + i
END FOR
DISPLAY "The sum of every number from 1 through " + user_input + " is " + total_sum
END
9.5m questions
12.2m answers