What`s meaning of % in c#? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What`s meaning of % in c#?

18th Aug 2019, 7:12 PM
Mahdi
4 Answers
+ 7
Remainder operator: it outputs the remainder of integer division of two numbers. So, for example, 11 % 4 is 3, since 11 divided 4 gives two, with remainder of 3
18th Aug 2019, 8:10 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
0
Thanks
19th Aug 2019, 5:00 AM
Mahdi
0
Remainder
20th Aug 2019, 6:02 AM
Täññùprïyå
Täññùprïyå - avatar
- 2
Write an example
18th Aug 2019, 7:59 PM
Safaa Alnabhan
Safaa Alnabhan - avatar