Create a program for calculating the value of the function y = x2.
December 29, 2020
function in Pascal:
function kvadr (n: integer): integer;
Result: = SQR (n);
Next, we write the main program and call the function, passing the value to it. Calling the function:
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.