Write a program that calculates the sum of natural numbers from 10 to 15 and displays the result.

var i, s: integer; // i – counter, s – sum of numbers.
begin
s: = 0;
for i: = 10 to 15 do s: = s + i; // a loop with a parameter, in which the variable s is updated for values of parameter i in the range from 10 to 15, inclusive.
writeln (‘S =’, s, ‘.’);
end.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.