what value is stored in the result variable ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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
1 Answer
+ 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