Create a program for calculating the value of the function y = x2.

function in Pascal:
function kvadr (n: integer): integer;
begin
Result: = SQR (n);
end;
Next, we write the main program and call the function, passing the value to it. Calling the function:
For example,
kvadr (20);



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.