Three real numbers are given. Display those of them that belong to the interval (1.6 – 3.8).

program square_cube; // with a for loop
var a, b, c: real;
begin
writeln (‘Enter three real numbers separated by a space’);
readln (a, b, c);
writeln (‘The range (1.6 – 3.8) contains numbers’);
if (a> 1.6) and (a <3.8) then writeln (a);
if (b> 1.6) and (b <3.8) then writeln (b);
if (c> 1.6) and (c <3.8) then writeln (c);
writeln (‘—‘);
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.