Guest User

Untitled

a guest
Jul 12th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.41 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class AEMain {
  4.  
  5.     public static void main(String args[]){
  6.  
  7.         Scanner sc = new Scanner(System.in);
  8.         System.out.println("Type arithmetic expression: ");
  9.         String expression = sc.nextLine();
  10.  
  11.         AESupport exp = new AESupport();
  12.         Double answer = exp.publicCalculation(expression);
  13.         System.out.println("Answer is " + answer);
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment