1234

mul.setOnClickListener(new View.OnClickListener() {
 @Override
 public void onClick(View v) {
 a = Double.parseDouble(aval.getText().toString());
 b = Double.parseDouble(bval.getText().toString());
 res.setText(“Result: “+(a*b))

Scroll to Top