Tgs SBD_3

Mei 27, 2008 oleh z3t4

Var     

a : integer;

Ket:string

Begin

a : StrToInt (Edit1.Text);

if ( a mod 2=0 )  then

begin

if  a > 0 then ket : = ’Genap Positif ‘

else ket : = ‘ Genap Negatif ‘

end

else

if a < 0 then ket : = ’Ganjil Negatif ‘

else ket : = ‘ Ganjil Positif ‘ ;

label12.caption : = ket ;

end;

end.

 

 

 

 

Halo dunia!

April 1, 2008 oleh z3t4

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!