1
Answer

Build a Calculator using Array

Anne Leong

Anne Leong

10y
654
1
I would like to build a basic calculator using C#.

However, I aim to build one which performs calculation only after the equal button is clicked. And I think that arrays need to be used.

For example, when someone type in "10+12/2-2", the calculator will display "10+12/2-2 = 10" after the "=" button is clicked.


Any idea how to do it?
Thank you very much for your help.
Answers (1)