package filipinos;
import java.util.Scanner;
public class Filipinos {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Enter two integers\n");
int first = scan.nextInt();
int second = scan.nextInt();
int remainder = first % second;
System.out.printf("The remainder is: %d\n", remainder);
}
}
Comments
Leave a comment