" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2025 KUDO.TIPS - All rights reserved.
Program kat;
uses CRT;
var
h,a,c: integer;
pole, obwod: integer;
begin
Clrscr;
Writeln('Podaj dlugosc boku A');
Readln(a);
Writeln('Podaj wysokosc h');
readln(h);
Writeln('Podaj dlugosc boku C');
readln(c);
Pole := (a*h) div 2;
obwod := a+h+c;
Writeln;
Writeln('Pole wynosi: ',pole);
Writeln('Obwod wynosi: ',obwod);
readln;
end.
W razie pytań pisz na PM.