Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1. package comp;
  2. /**
  3.  *
  4.  */
  5.  
  6. /**
  7.  * @author vd012836
  8.  *
  9.  */
  10. public class gen {
  11.  
  12.     public static void main(String[] args)
  13.     {
  14.         String result;
  15.         stack myStack = new stack(5);
  16.        
  17.  
  18.         myStack.push("+");
  19.         myStack.push("6");
  20.         myStack.push("*");
  21.         myStack.push("5");
  22.         myStack.push("5");
  23.        
  24.         result = myStack.execute();
  25.         System.out.println("DONE");
  26.         System.out.println(result);
  27.    
  28.     }
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement