Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ONE--------------------------------------------------------------
---------Aim : To make a program which appends the information
given.
Design :
////////////////////////////////////////////////Arnav
Solanki /////// XII A//////Roll No. 5
2
PROGRAM
TWO--------------------------------------------------------------
--------Aim : To make a calculator.
Design :
Code :
////////////////////////////////////////////////Arnav
Solanki /////// XII A//////Roll No. 5
3
For divide button :
Double n1,n2,n3;
n1 = Double.parseDouble(t1.getText());
n2 = Double.parseDouble(t2.getText());
n3 = n1/n2;
l1.setText(""+n3);
For clear button :
t1.setText("");
t2.setText("");
l1.setText("");
Output :
////////////////////////////////////////////////Arnav
Solanki /////// XII A//////Roll No. 5
4
PROGRAM
THREE------------------------------------------------------------
--------Aim : To make a program that counts integers between two
given integers.
Design :
Code :
Output :
////////////////////////////////////////////////Arnav
Solanki /////// XII A//////Roll No. 5
5
PROGRAM
FOUR-------------------------------------------------------------
--------Aim : To create a LCM and HCF calculator.
Design :
Output :
////////////////////////////////////////////////Arnav
Solanki /////// XII A//////Roll No. 5
7
PROGRAM
FIVE-------------------------------------------------------------
----------Aim : To create percentage calculator.
Design :
PROGRAM
FIVE-------------------------------------------------------------
----------Aim : To create percentage calculator.
Design :
PROGRAM
FIVE-------------------------------------------------------------
----------Aim : To create percentage calculator.
Design :
Output :