0

Вы уже пробовали сломанный калькулятор?

https://code.sololearn.com/cXFvnO3x0bPj/?ref=app

25th Aug 2019, 3:04 PM
Пила Пилит
2 Respostas
+ 2
Hello Пила Пилит , First, I have to confirm with you, because I don't understand what you want this code do, I see you check for some conditions that involves variable <a>, <b> and <c> before you add <a> and <b> into <c> at line 50. My first concern here starts at line 23, where you compare value of <c> to other variables, and assign a modified value of <c> at line 29 and 40. The thing is, <c> is not initialized when its value is used in the code. Uninitialized variable has an unpredictable value, so take care with that. Maybe add more information, for example, what the code is supposed to do, so everyone can understand the problem better and can help with better suggestion/solution. P.S. Please remove 'break' and 'broken' from Relevant Tags 👍
25th Aug 2019, 4:42 PM
Ipang
+ 1
Okay, i try to fixed that.
25th Aug 2019, 5:11 PM
Пила Пилит