PayPal Interview Question

given a string write your code such that you can compute the expression the string consists of nos +,-,%,()