around this issue You may add another condition to check at any point in this control structure.

For example, assuming that you are wanting to add a logarithmic function to your program, and assuming the method signature of that function contains log(double value, double base), you could add the statements...

code :

```
else if (op == "log") {
log(x, y);
}
```

```
public void OperatorIndicator(double x, double y, String op){
if (op.equals("+")) {
multiply(x, y);
} else if (op.equals("/")) {
divide(x, y);
} else if (op.equals("+")) {
sum(x, y);
} else if (op.equals("-")) {
difference(x, y);
} else if (op.equals("")){
if (y == 0) {
squareroot(x);
} else {
exponent(x,y);
}
} else {
System.out.println("OPERATOR NOT VALID");
}
}
```