+ 1
I need to know why this %is used for and why the set has no " this
Any know or it is all in c# program I needed to memory it
2 Answers
+ 1
c=a%b is equal to the remaining of a/b, for example 7%2=1 because 7/2=3 and the remaining is equal to 1.
You can use % when, for example, need to find even numbers.