import java.util.*; public class Solution { static int operator(int n1, int n2, String op) { if (op.equals("+")) return n1 + n2; else if (op.equals("-")) return n1 - n2; else if (op.equals("*")) return n1 * n2; else if (op.equals("/")) return n1 / n2; ...