0% found this document useful (0 votes)
2 views1 page

Basic Arithmetic Operations Code

The document describes a program that performs basic mathematical operations like addition, subtraction, multiplication and division on two input numbers. The program takes the two numbers as input, performs the operations and displays the output.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Basic Arithmetic Operations Code

The document describes a program that performs basic mathematical operations like addition, subtraction, multiplication and division on two input numbers. The program takes the two numbers as input, performs the operations and displays the output.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

INPUT DATA OUTPUT

Bilangan 1 7 7 + 3 = 10
7–3=4
Bilangan 2 3 7 x 3 = 21
7 / 3 = 2…..
PROSES

CLOSE

void button1click …….


{
proses([Link], [Link]);
}

void proses(int b1, int b2)


{
int jml, krg, kli, bgi;
jml = b1 + b2;
….
….
String hasil = “”;
hasil = b1 + “ + “ + b2 + “ = “ + jml +”\r\n” +
b1 + “ - “ + b2 + “ = “ + krg+”\r\n” +
….
}

You might also like