I’ve been struggling with making a very basic Thunkable X calculator for an app of mine for the past 3 weeks, and am still stuck.
I finally got the addition part to work, but the others aren’t working.
SUBTRACTION ERROR:
It returns
-(sum of all the numbers inputted)
Red list-viewer shows all the numbers inputted and the green one shows all the operations.
The equation I gave for subtraction is 6-1.
MULTIPLICATION ERROR:
Returns 0
The equation I gave for multiplication is 4*5.
DIVISION ERROR:
Returns 0
The equation I inputted for division is 9/3.
ADDITION SUCCESS:
The equation for addition is 1+1.
Here’s my code:
It’s the same thing if i is not equal to 0, with one change: