| 30 | } |
| 31 | } |
| 32 | int main() |
| 33 | { |
| 34 | jaadu; |
| 35 | int t; |
| 36 | cin>>t; |
| 37 | while(t--){ |
| 38 | string str; |
| 39 | cin>>str; |
| 40 | int n = str.length(); |
| 41 | rpn(str,n); //Method to tranform algebraic exp to Reverse Polish Notation (Infix to Postfix) |
| 42 | cout<<endl; |
| 43 | } |
| 44 | return 0; |
| 45 | } |