+ 3
What's wrong??
21 Réponses
0
https://code.sololearn.com/WEEi86QhA9Nk/?ref=app
+ 2
Please state your issue/problem with clarity so that help would be provided as and where required.
+ 2
Well, it is recommended to describe your problem accurately so others can help you better. What your code is supposed to do?
+ 2
Ok really thanks
+ 1
grow is a boolean which decides if the value should raise or not. It's changed whenever the value becomes 200 or 0
+ 1
Look at this code: inflates is the same as grow here:
https://code.sololearn.com/WgdY0AxfDmDm/?ref=app
+ 1
In which code
+ 1
size += inflate ? 20 : -10;
Is the same as
if(inflate)size += 20;
else size += -10;
0
I want range to be back again
0
When do you want this
0
the sooner the better
0
So please, explain your problem accurately and easily to understand.
0
when the count get's 100 then I want it get's to 0 as it got to 100
0
Create a Boolean which decides of your value should get bigger or smaller(a++/a--)
0
I tried it see my code again
0
What is : if(grow){}
0
I can't underestand
0
Oh thank you so much can you give another example with that??
0
plz
0
Ok underestood thanks