0
What's wrong?
Bugs when I use "-" and "+" buttons. https://code.sololearn.com/W0gTJ4IYbwdO/?ref=app
9 ответов
+ 2
And also line 50
not c = a - c
should be c = c - a
c is the stored overall result
a is the current value on screen
https://code.sololearn.com/WMN5R3rDtWkN/?ref=app
Actually the best analog calculator. Good job
+ 2
Read comments
+ 2
Yeah, i was wondering where is c function too
+ 2
Maneren c is not a function, c is the variable storing the computed variable. The error did not occur because we have not test the result to over 12 digits and enter the if code block
+ 1
Sorry?
+ 1
line 50 line 51 typo the function name is cl() not c()
+ 1
And for matter of style of code
https://code.sololearn.com/W8lMeQL8Jkmr/?ref=app
+ 1
I meant how can he call function named c when there is no fuction named c, because c is variable
+ 1
Thank you very much, guys!