Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Mathematically Evaluating an integer array (http://www.go4expert.com/forums/mathematically-evaluating-integer-array-t1045/)

Iasthaai 21Jul2006 23:14

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! :)

shabbir 22Jul2006 19:32

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 13:32.