1)var a,b,c:real;
begin
write('a=');readln(a);
write('b=');readln(b);
write('c=');readln(c);
if (a+b>c) or (a+c>b) or (b+c>a) then writeln(' la 3 canh cua tam giac ')
else writeln(' khong phai la 3 canh cua tam giac ');
readln;
end.
2) var a,b:integer;
begin
write(' Chieu cao ban A: ');readln(a);
write(' Chieu cao ban B: ');readln(b);
if a=b then writeln(' Chieu cao 2 ban bang nhau ');
if a>b then writeln(' Ban A cao hon ban B')
else writeln(' Ban B cao hon ban A ');
readln;
end.