Output

  1  public class ComputeExpression { 
  2    public static void main(String[] args) {
  3      System.out.print("(10.5 + 2 * 3) / (45 - 3.5) = ");
  4      System.out.println((10.5 + 2 * 3) / (45 - 3.5));
  5    }
  6  }