# You are given real positive numbers a, b, c, which are the lengths of the sides of the triangle.

You are given real positive numbers a, b, c, which are the lengths of the sides of the triangle. Write a program that allows you to find the radius of the inscribed and circumscribed circles.

program zz1;

var a, b, c, p: real; // set variables of non-integer type

begin

write (‘enter the first side of the triangle’);

write (‘enter the second side of the triangle’);

write (‘enter the third side of the triangle’);

If a <b + c Then

If b <a + c Then

If c <a + b Then

begin

p: = (a + b + c) / 2;

Writeln (‘Inscribed circle radius =’, Sqrt (((p-a) * (p-b) * (p-c)) / p): 2: 2);

Writeln (‘Radius of the circumcircle =’, (a * b * c) / (4 * Sqrt ((p * (p-a) * (p-b) * (p-c)))): 2: 2);

end

Else Writeln (‘The triangle does not exist’);

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.