What is the code that decrement X's value in X=20 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

What is the code that decrement X's value in X=20

3rd Feb 2017, 6:29 AM
Brighton Stifans
Brighton Stifans - avatar
2 Answers
+ 6
X--;
3rd Feb 2017, 8:50 AM
Hatsy Rei
Hatsy Rei - avatar
- 2
X-1
3rd Feb 2017, 6:30 AM
Brighton Stifans
Brighton Stifans - avatar