Write a program for finding the perimeter of a rectangle. The length and width values are entered from the keyboard.

Pascal:
program perimetr;
uses crt;
var a, b, p;
begin
clrscr;
writeln (enter length);
readln (a);
writeln (enter width);
readln (b);
p: = 2 * (a + b);
writeln (rectangle perimeter, p);
readkey;
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.