0

Don't understand the reminder, how is that possible 25%7 runs 4, and 20%7 runs 6?

19th Feb 2019, 8:01 PM
Damian Dorosz
Damian Dorosz - avatar
4 Réponses
+ 3
25 / 7 = 3 --> rest 4 20 / 7= 2 --> rest 6 To get the rest of a division use the mod operator 25 % 7 = 4 20 % 6 = 6 If a number is divisible by another for example 4/2 = 2 --> 4% 2 = 0
19th Feb 2019, 8:13 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
So simple, thank you Denise
19th Feb 2019, 8:14 PM
Damian Dorosz
Damian Dorosz - avatar
+ 1
Your welcome :)
19th Feb 2019, 8:14 PM
Denise Roßberg
Denise Roßberg - avatar
0
25//7 = 3 20//7 = 2
21st Feb 2019, 7:15 AM
Vinay Kumar
Vinay Kumar - avatar