Love What You Do, Do What You Love

Program menentukan Wujud Air menggunakan Delphi 7

Posted by : Unknown
Minggu, 30 Desember 2012


Pseudo Code:


var a : real;
begin
  a:=strtofloat(Edit1.Text);
  if (a>0) and (a<100) then Edit2.Text:='cair';
  if a=100 then edit2.Text:='cair';
  if (a>100) then Edit2.Text:='gas';
  if (a<0) then Edit2.Text:='es';
  if a=0 then edit2.Text:='es';
end;

Semoga Bermanfaat :)

0 comments:

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