Program Pr1;uses crt;var r:integer; b,a:real;Beginclrscr;writeln('Введите R и a');readln(r,a);b:=sqrt(a-(a/2));if (b<r) and (a/2<r) then writeln('Поместится')else writeln('Не поместится');end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Program Pr1;
uses crt;
var r:integer;
b,a:real;
Begin
clrscr;
writeln('Введите R и a');
readln(r,a);
b:=sqrt(a-(a/2));
if (b<r) and (a/2<r) then writeln('Поместится')
else writeln('Не поместится');
end.