✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Consider the following code snippet:
var
i, sum: integer;
begin
sum := 0;
for i := 1 to 10 do
sum := sum + i;
Memo1.Lines.Add('Sum of numbers from 1 to 10: ' + IntToStr(sum));
end;
What will be the output of the code snippet?