+ 1

last question of the basics...

i don't get it... i worked out and understood everything but that. is it some high level math or did i forget what the % meant maybe? thanks

29th Apr 2019, 1:59 PM
Benny Herrmann
Benny Herrmann - avatar
2 ответов
+ 2
You probably just forgot. a%b keeps substracting b from a untill b<a. For example: 5%2=1 (5-2=4, 4-2=1, 1<2)
29th Apr 2019, 2:04 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
thankyou much appreciated Aymane! looks like i gotta review it all again as i've already forgotten some of the basics!
29th Apr 2019, 2:28 PM
Benny Herrmann
Benny Herrmann - avatar