Instructor
Yogesh Chawla Replied on 15/04/2024
public class Class2 {
public static void main(String[] args) {
int a = 10;
int b = 3;
int remainder = a % b;
int quotient = a / b;
System.out.println("Remainder: " + remainder);
System.out.println("Quotient: " + quotient);
}
}