Write a program to calculate the perimeter of a square with side a.

Write a program to calculate the perimeter of a square with side a. Assign an arbitrary value to the variable a. Display the result on the screen.

An arbitrary value can be obtained when the program itself selects it using the special function random (). This function generates numbers that are integers.
In order to get a non-integer number as a result of its work, you need to perform some action with the number after generation, for example, division.
Since the sides of the square are the same, it will be enough for us to know only its measurement.
In this case, this is side a.
First, set the side value programmatically:
a: = random (100);
Now we are looking for the perimeter and, without writing the result to a variable, display it:
writeln (a * a);



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.