View Single Post
Eski 19/01/2007, 04:18   #2 (permalink)
Fobus
.
 
Fobus Adlı Üyenin Profil Grafiği
 
Üyelik Tarihi: 02/2003
Mesaj: 509
Varsayılan

procedure TForm12.Button1Click(Sender: TObject);
var
i:integer;
toplam:integer;
begin

toplam:=0;
for i:=1 to strtoint(edit1.text) do
begin
toplam:=toplam+i;
end;
edit2.text:= edit1.text+' e kadar olan sayıların toplamı'+inttostr(toplam);

end;
Fobus hatta değil   Alıntı Yaparak Yanıtla