program nfe;
uses crt;
var a,b,c:integer;
begin
readln(a,b,c);
if (a=c) and (a<>b) and (b<>c) then writeln('равнобедренный');
if (a=c) and (a=b) and (c=b) then writeln('равносторонний');
if (a<>c) and (a<>b) and (b<>c) then writeln('разносторонний');
readln;
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
program nfe;
uses crt;
var a,b,c:integer;
begin
readln(a,b,c);
if (a=c) and (a<>b) and (b<>c) then writeln('равнобедренный');
if (a=c) and (a=b) and (c=b) then writeln('равносторонний');
if (a<>c) and (a<>b) and (b<>c) then writeln('разносторонний');
readln;
end.