i need help on how to get the answer of an equation entered by the user. For example:

user enters:

10*2+3/5*912-6/5)= ?

i accepted the equation as string but i dont know how to get the answer, implementing the MDAS rule and all. i already converted the numbers in the string to integer using atoi() but i dont know what's next and what to do with all the operators....

I need help badly. Thanks!!!