+ 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

22nd Feb 2022, 3:09 PM
mithun shashtivel
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.
22nd Feb 2022, 4:10 PM
Cristian Baeza Jimenez
Cristian Baeza Jimenez - avatar