I'm reading in an array of digits from a user at the prompt and storing them into an integer array.

I then put operations intersparsed between these digits in an integer array, so it will read, for example "12+345+6".

My question is, how do I evaluate that array to an integer? The above example I want to evaluate to 363.

Thanks in advance!

I then put operations intersparsed between these digits in an integer array, so it will read, for example "12+345+6".

My question is, how do I evaluate that array to an integer? The above example I want to evaluate to 363.

Thanks in advance!