- 1
Increment & Decrement
Can someone please really explain these to me with examples?
1 Answer
0
Increment counts up and decrement counts down.
Besides the default of 1 you can also add 2, 3, 4, 5 or whatever you like to a number.
It is mostly used in databases to auto generate primary keys or incremental games.
Hot today
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
1 Votes
Тренажер кода
0 Votes
Python palindrome challenge.
1 Votes
Java
0 Votes
Number of Ones ( C++ ) question!
1 Votes