Hey,
Im writing a program in which i would like the user to be able to enter a formula then have the formula calculated. The only way i can think of doing this is to have the formula imputted into a string, then use a switch and some loops to execute the formula. Is there a library or a more elegant method to do this?

Thak you,
Gr3g