Hey guys, what does this meaning? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hey guys, what does this meaning?

if (YOU==WIN) { LEVEL++; } else { Experience++; }

12th Dec 2019, 6:37 AM
DRAMA
DRAMA - avatar
6 Answers
+ 4
Philosophically it means " talk is cheap show me the code". That's mean losing is not a failure, every failure is ladder to the success.
13th Dec 2019, 6:02 PM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar
+ 3
If "YOU" equals to "WIN" then "LEVEL" is increased..if the statement i.e.,(YOU==WIN) fails then it will go to 'else' block then "experience will" increased
12th Dec 2019, 7:29 AM
Zenitsu
Zenitsu - avatar
+ 3
Avinesh Overlook : ) Thank you and the code has a good message too
12th Dec 2019, 11:25 AM
Zenitsu
Zenitsu - avatar
+ 2
It means that you gain vital experience when you lose.
13th Dec 2019, 8:40 PM
Sonic
Sonic - avatar
+ 1
Dakarapu Sai Surya Chaitanya Kindly check your answer again.
12th Dec 2019, 10:31 AM
Avinesh
Avinesh - avatar
0
I see a bunch of errors in your code, sorry :D
13th Dec 2019, 4:04 AM
Marnyansky
Marnyansky - avatar