/***************************************************************
 * Filename: Pairs.java
 * Author: Your name 
 * Date: Today's date
 * Version: 1.0
 * Description: Arithmetic on a pair of numbers
*****************************************************************/
import java.util.Scanner; // to use keyboard input
public class Pairs
{
  public static void main (String[] arg)
  {
          System.out.println("Pairs");
          Scanner in = new Scanner(System.in);
 
 //Part I -- using int  
          System.out.println("Using ints");        
          System.out.print("Please enter a number:");
          int number1 = in.nextInt();

          System.out.print("Please enter another number:");
          int number2 = in.nextInt();
     //complete the println statements using math operations    
          System.out.println("The sum is " );
          System.out.println("The difference is " );
          System.out.println("The product is " );
          System.out.println("The average is "  );
          System.out.println("The absolute value of difference (distance) is "  );
          System.out.println("The maximum is ");
          System.out.println("The minimum is " );
          
//Part II -- using doubles
          //read in two double numbers -- num3 and num4
          
          //printout their sum, difference, product and average
          // use System.out.printf for their values -- use both f and e notation
      
//Part III -- using String methods
          //read in a String containing upper and lower case letters
          System.out.println("\nUsing Strings");
          System.out.println("Please enter a String containing both upper and lowercase:");

//need to skip the enter at the end of the previous number          
          String s1= in.nextLine();
          s1= in.nextLine(); //we really read here
          
          //print the string as all caps using String methods
          
          //print the string as all lowercase using String methods

          //print the first character in the String
          
          //print the last character in the String

          //print the number of characters in the String
         
          
          
  }
}
