Given a natural number N. Find the sum of the first N terms of the natural series. PASKAL abc

program zz1;
var n, i, sum: integer; // describe the required variables
begin
read (n); // enter the given n
for i: = 1 to n do // iterate over all natural numbers from 1 to n
sum: = sum + i; // add them to the total
write (sum); // display the answer to the screen
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.