public class Program { public static void main(String[] args) { int x=8, y=2; System.out.println(y%x); | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

public class Program { public static void main(String[] args) { int x=8, y=2; System.out.println(y%x);

please can anyone explain how the out gives 4

30th Dec 2019, 4:26 PM
BAYODE BLESSING AKINBOLA
2 Answers
+ 3
Is that java?
30th Dec 2019, 4:46 PM
Hayashi Kato
Hayashi Kato - avatar
0
Play this text puzzle game https://texttwist.online with your friends.
25th Sep 2023, 10:02 AM
siya tomar
siya tomar - avatar