procedure TForm1.Label1Click(Sender: TObject);
begin
end;
procedure TForm1.Edit1Change(Sender: TObject);
begin
end;
procedure TForm1.CheckBox4Change(Sender: TObject);
begin
end;
procedure TForm1.Button1Click(Sender: TObject);
var a, b, c:real;
begin
a:= StrToFloat(Edit1.Text);
b:= StrToFloat(Edit2.Text);
if CheckBox1.Checked=True then
begin
c:=a+b;
Label3.Caption:= 'Сума = ' +FloatToStr(c) ;
end;
if CheckBox2.Checked=True then
begin
c:=a+b;
Label3.Caption:= 'Різниця = ' +FloatToStr(c) ;
end;
if CheckBox3.Checked=True then
begin
c:=a+b;
end;
Label3.Caption:= 'Добуток = ' +FloatToStr(c) ;
end;
if CheckBox4.Checked=True then
begin
c:=a+b;
Label3.Caption:= 'Частка = ' +FloatToStr(c) ;
end.