30th Apr 2018, 12:27 PM
Sina
Sina - avatar
21 Réponses
0
https://code.sololearn.com/WEEi86QhA9Nk/?ref=app
30th Apr 2018, 2:13 PM
Jonas Schröter
Jonas Schröter - avatar
+ 2
Please state your issue/problem with clarity so that help would be provided as and where required.
30th Apr 2018, 12:40 PM
Rahul George
Rahul George - avatar
+ 2
Well, it is recommended to describe your problem accurately so others can help you better. What your code is supposed to do?
30th Apr 2018, 12:41 PM
Jonas Schröter
Jonas Schröter - avatar
+ 2
Ok really thanks
30th Apr 2018, 8:19 PM
Sina
Sina - avatar
+ 1
grow is a boolean which decides if the value should raise or not. It's changed whenever the value becomes 200 or 0
30th Apr 2018, 6:44 PM
Jonas Schröter
Jonas Schröter - avatar
+ 1
Look at this code: inflates is the same as grow here: https://code.sololearn.com/WgdY0AxfDmDm/?ref=app
30th Apr 2018, 7:25 PM
Jonas Schröter
Jonas Schröter - avatar
+ 1
In which code
30th Apr 2018, 7:39 PM
Jonas Schröter
Jonas Schröter - avatar
+ 1
size += inflate ? 20 : -10; Is the same as if(inflate)size += 20; else size += -10;
30th Apr 2018, 7:44 PM
Jonas Schröter
Jonas Schröter - avatar
0
I want range to be back again
30th Apr 2018, 1:09 PM
Sina
Sina - avatar
0
When do you want this
30th Apr 2018, 1:14 PM
Jonas Schröter
Jonas Schröter - avatar
0
the sooner the better
30th Apr 2018, 1:15 PM
Sina
Sina - avatar
0
So please, explain your problem accurately and easily to understand.
30th Apr 2018, 1:22 PM
Jonas Schröter
Jonas Schröter - avatar
0
when the count get's 100 then I want it get's to 0 as it got to 100
30th Apr 2018, 1:28 PM
Sina
Sina - avatar
0
Create a Boolean which decides of your value should get bigger or smaller(a++/a--)
30th Apr 2018, 1:34 PM
Jonas Schröter
Jonas Schröter - avatar
0
I tried it see my code again
30th Apr 2018, 1:46 PM
Sina
Sina - avatar
0
What is : if(grow){}
30th Apr 2018, 5:53 PM
Sina
Sina - avatar
0
I can't underestand
30th Apr 2018, 5:55 PM
Sina
Sina - avatar
0
Oh thank you so much can you give another example with that??
30th Apr 2018, 7:24 PM
Sina
Sina - avatar
0
plz
30th Apr 2018, 7:24 PM
Sina
Sina - avatar
0
Ok underestood thanks
30th Apr 2018, 7:34 PM
Sina
Sina - avatar