![]() |
Mathematically Evaluating an integer array
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! :) |
Re: Mathematically Evaluating an integer array
Duplicate thread of Mathematically Evaluating an integer array.Thread closed
|
| All times are GMT +5.5. The time now is 07:21. |