The legs of a right-angled triangle are given. Find its hypotenuse. Make a program.

A variant of the program execution in Pascal
program cyb7;
var
a, b, c: real;
begin
write (‘Enter the length of the first leg:’);
readln (a);
write (‘Enter the length of the second leg’);
readln (b);
c: = Sqrt (Sqr (a) + Sqr (b));
writeln (‘Hypotenuse of a triangle =’, c);
readln;
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.