[ADVERTISEMENT] This actually works | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

[ADVERTISEMENT] This actually works

https://code.sololearn.com/cH1pRP9bQVMm/?ref=app If didn't work make sure your calculation are correct and please drop a like

21st Feb 2018, 4:40 PM
Syed Shaheryar
Syed Shaheryar - avatar
2 Answers
+ 2
I know how this works: Suppose you choose x. S1 : Double x. => 2x. S2 : Add 10 => 2x + 10. S3 : Donate Half => x + 5. S4 : Subtract x => 5. You are now left with 5, no matter what you chose. Not a big deal now. Try developing something more useful next time.
21st Feb 2018, 4:55 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar