Hi, I programming a calculator, but I want to be able to enter more than 2 numbers...
Ex: |1|2|3| Here's a label: Ex: 1 + 5 + 8 + 2 =
|4|5|6|
|7|8|9
|0|
It's a bit weird to look at this but... What I want, is when you pressed button1 (number 1), it creates a variable named numberA (for exemple)...
When I'll press " = ", it will do the operation...
![Name: calcu.png
Views: 38
Size: 8.7 KB]()
All button works, but the " = " is program only for addition... And for now, it can't addition 2 same numbers... (Ex: 1 + 2 + 6 + 1 = 9, it must = 10)
Any help pls?
Ex: |1|2|3| Here's a label: Ex: 1 + 5 + 8 + 2 =
|4|5|6|
|7|8|9
|0|
It's a bit weird to look at this but... What I want, is when you pressed button1 (number 1), it creates a variable named numberA (for exemple)...
When I'll press " = ", it will do the operation...
All button works, but the " = " is program only for addition... And for now, it can't addition 2 same numbers... (Ex: 1 + 2 + 6 + 1 = 9, it must = 10)
Any help pls?