package sola5;
import java.util.Scanner;
public class Assign1 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Enter a three digit integer: ");
int a = input.nextInt();
System.out.print("Now, enter a 2 digit integer: ");
int b = input.nextInt();
while (a > b) {
a = a-b;
System.out.println();
}
}
}
This is as far as I have gotten. My next step is to make it display the answer as well as the remainder and I just cannot figure out how to do it.