The second number isn't entered yet when you press the "plus" button so the sum is only the first number. Then you have to press it again to add to sum
The second number isn't entered yet when you press the "plus" button so the sum is only the first number. Then you have to press it again to add to sumSo in if equals btn pressed, something like