import java.util.*;
import java.lang.*;
import java.io.*;
// The main method must be in a class named "Main".
class Main {
public static void main(String[] args) {
int dividend=12,divisor=5;
int quotient=dividend/divisor;
int remainder=dividend%divisor;
System.out.println("the quotient is ="+quotient);
System.out.println("the remainder is ="+remainder);
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: