Recovering my coding…,
Actually the problem is not too difficult, it has similar idea with calculator:
- get the identifier at once, not in the for loop.
- first think of non bracket situation, than think of brackets.
That is the most simplest thinking pattern
Error:
- The output will not show digit which less than 2