import java.util.Scanner;
/* 
  Program to add together two numbers
  Author: Paul LaFollette
  August 23, 2021
*/

public class Quotient 
{
  public static void main(String args[])
  {  
    int num1, num2;
    int quotient, remainder;

    IOStuff.clearScreen();
    num1 = IOStuff.getIntPrompt("Enter an integer:");
    num2 = IOStuff.getIntPrompt("Enter another integer:");
  
    IOStuff.clearScreen();
    if (num2 != 0)
    {
      quotient = num1 / num2;
      remainder = num1 % num2;
      System.out.println("The quotient is " + quotient);
      System.out.println("The remainder is " + remainder);
    }
    else
    {
      System.out.println("I am sorry. I do not know how to divide by 0");
    }
  }
}

