program laturile_unui_triunghi; var a,b,c, ok : integer; // Introduceti 3 numere (separate de Enter sau Blank) begin readln(a,b,c); ok:=1; if a+b < c then ok:=0; if a+c < b then ok:=0; if b+c < a then ok:=0; // Daca ok=1 atunci avem triunghi cu laturi a,b,c if ok=1 then writeln ('Avem triunghi') else writeln ('Nu avem triunghi'); end.