i need help on how to make a calculator program on C.
for example:
100+3*(344-45)-3/20= ?
ive done a part of it, but it doesnt even give the right answer. the user inputs anything (excluding letters and some puncts). it accepts the equation as a string. ive already converted the string into integers using atoi() fn but im stucked and i dont know what to do next. i made a program similar to this but it doesnt follow the precedence of the operators and it cant compute the answer when you include parenthesis on it...
I need help badly! thanks....
*anything from telling me what to do next will do or any other will do* ill just try to analyze all your answers and see if i can really get it... :lol: