+ 2
Why do people use int i alot?
i see alot of code using "i" as a symbol any reason for that?
3 Respostas
+ 3
i = increment
Just a generic variable to the increment counter. You can use whatever variable you want. It's just something that was always taught, so people always used it because everyone was taught the same. It makes it easier to deal with because you know it's that variable for the loop, and not useful toward anything else.
+ 2
i and j are used commonly in loops as counters
Why? I don't know
0
thanks