Love What You Do, Do What You Love

Program Luas Segitiga: 3 sisi menggunakan Delphi 7

Posted by : Unknown
Minggu, 30 Desember 2012

Pseudo Code:


var a,b,c,s,l : real;
begin
  a:=StrToFloat(edit1.Text);
  b:=StrToFloat(edit2.Text);
  c:=StrToFloat(edit3.Text);

  s:=(a+b+c)/2;

  l:=sqrt(s*(s-a)*(s-b)*(s-c));

  edit4.Text:=FloatToStr(l);
end;

Semoga Bermanfaat :)

0 comments:

Copyright © 2012 Zuka Zuka World | Hatsune Miku Theme | Designed by Johanes DJ