0

Why is this ? Print (88%8). Answer : 0

15th Sep 2021, 4:18 PM
JavohirRahmatov
JavohirRahmatov - avatar
5 odpowiedzi
+ 2
8*11 = 88 . % operator returns remainder . So remainder will be zero
15th Sep 2021, 4:21 PM
Abhay
Abhay - avatar
+ 2
% caculates the remainder. 88/8 = 11 which is a whole number which means the remainder is 0
15th Sep 2021, 4:22 PM
Brain & Bones
Brain & Bones - avatar
+ 2
The modulus operator (%) stands for remainder. 88 divided by 8 is 11 with a remainder of 0. Thus 88 % 8 is 0.
15th Sep 2021, 8:13 PM
Marvin
Marvin - avatar
+ 1
Brian I meant 88 divided by 8 becomes eleven and the remainder divided by zero 88/8 ==11.0
15th Sep 2021, 5:29 PM
Amirreza
Amirreza - avatar
0
Amirreza Hashemi 🙄🤔😶😶
15th Sep 2021, 5:14 PM
Brian
Brian - avatar