- 1

what value is stored in the result variable ?

int x = 8, y = 5; int result = x%y; i dont understand the code abovec

22nd Jun 2019, 1:17 PM
Boy Arya
Boy Arya - avatar
2 Antworten
+ 4
Boy Arya the remaining value after the division will be store in the variable result which is 8%5 == 3
22nd Jun 2019, 1:20 PM
MsJ
MsJ - avatar