Intuit interview question

write a program to compute a string with integers, "+" and "-" to get the computed value.