I need to build a program that reads a string (mathematical expression) from the console and calculate the result: Input : 12+1*2+(1+2) Output : 17 To do that should i use the binary tree?
I need to build a program that reads a string (mathematical expression) from the console and calculate the result: Input : 12+1*2+(1+2) Output : 17 To do that should i use the binary tree?
برچسب:
نویسنده: استخدام کار