Quantcast
Channel: I'm having trouble getting operations working - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Jorel Ali for I'm having trouble getting operations working

In your operations listener, the total is only initialized when C is pressed. Using this example of 3 + 5:When 3 is pressed, the number is entered into the area.When the + operation is pressed, the...

View Article


I'm having trouble getting operations working

I'm a beginner and trying to make a simple calculator. i've searched for other answers but my problem is that after pressing the operator it's just keeps the first string onlypublic class...

View Article

Browsing all 2 articles
Browse latest View live


Latest Images