Error: Do not know how to do, the tricky part is: 1) Hard to handle the first number 2) Hard to mult. So we use for loop, to apart each number, then store the number. And handle “+ - *”. Need to take care of the previous number, in func
Error:
Do not know how to do, the tricky part is: 1) Hard to handle the first number 2) Hard to mult.
So we use for loop, to apart each number, then store the number. And handle “+ - *”.
Need to take care of the previous number, in func, we are storing previous result, not previous number, so we need to store -num, num, prev * num rather than num