procedure TForm1.Button1Click(Sender: TObject);
var
sayi1,sayi2,sayi3,ortalama:real;
begin
sayi1:=strtoint(edit1.Text );
sayi2:=strtoint(edit2.Text ) ;
sayi3:=strtoint(edit3.Text );
ortalama:=(sayi1+sayi2+sayi3)/3;
label4.Caption := ''''ortalama='''' + floattostr(ortalama);
end;
end.
nazım demir
demirnazim@hotmail.com