Nah Kalo yang Ini Program Hitung sedehana bisa di bilang seperti kalkuator lah…tapi belum sempurna

sekarang giliran km untuk nyempurnai program tersebut

::ni source kodenya::

unit Uhitung;

interface

uses

Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,

StdCtrls;

type

TForm1 = class(TForm)

GroupBox1: TGroupBox;

Label1: TLabel;

Label2: TLabel;

Label3: TLabel;

Label4: TLabel;

Label5: TLabel;

Label6: TLabel;

Editbil1: TEdit;

Editbil2: TEdit;

editJumlah: TEdit;

editKurang: TEdit;

EditKali: TEdit;

Button1: TButton;

Button2: TButton;

Label7: TLabel;

procedure Button1Click(Sender: TObject);

procedure Button2Click(Sender: TObject);

private

{ Private declarations }

public

{ Public declarations }

end;

var

Form1: TForm1;

implementation

{$R *.DFM}

procedure TForm1.Button1Click(Sender: TObject);

begin

editjumlah.text:=inttostr(strtoint(editbil1.text)+strtoint(editbil2.text));

editkurang.text:=inttostr(strtoint(editbil1.text)-strtoint(editbil2.text));

editkali.text:=inttostr(strtoint(editbil1.text)*strtoint(editbil2.text));

end;

procedure TForm1.Button2Click(Sender: TObject);

begin

Close;

end;

end.

Selamat Mencoba