Assignemnt #50 and Compare To Challenge

Code

      ///Name: Dakota Donahue
      ///Period: 5
      ///Project Name:Compare To Challenge
      ///File Name:CompareTo
      ///Date: 11/19/2015
      public class CompareTo
      {
          public static void main( String[] args )
          {
          System.out.print("Comparing \"abbot\" with \"zoo\" produces ");
          int a = "abbot".compareTo("zoo");
          System.out.println(a);
      
          System.out.print("Comparing \"argon\" with \"xylophone\" produces ");
          int b = "argon".compareTo("xylophone");
          System.out.println(b);
          
          System.out.print("Comparing \"dank\" with \"memes\" produces ");
          int c = "dank".compareTo("memes");
          System.out.println(c);
              
          System.out.print("Comparing \"ocelot\" with \"zeus\" produces ");
          int d = "ocelot".compareTo("zeus");
          System.out.println(d);
              
          System.out.print("Comparing \"antijoke\" with \"squid\" produces ");
          int e = "antijoke".compareTo("squid");
          System.out.println(e);
          
          System.out.print("Comparing \"eel\" with \"feel\" produces ");
          int f = "eel".compareTo("feel");
          System.out.println(f);
              
          System.out.print("Comparing \"appalachia\" with \"zimbabwe\" produces ");
          int g = "appalachia".compareTo("zimbabwe");
          System.out.println(g);
              
          System.out.print("Comparing \"creed\" with \"zealous\" produces ");
          int h = "creed".compareTo("zealous");
          System.out.println(h);
              
          System.out.print("Comparing \"narcissistic\" with \"pretentious\" produces ");
          int i = "narcissistic".compareTo("pretentious");
          System.out.println(i);
              
          System.out.print("Comparing \"guitar\" with \"igloo\" produces ");
          int j = "guitar".compareTo("igloo");
          System.out.println(j);
              
          System.out.print("Comparing \"lemur\" with \"uromastyx\" produces ");
          int k = "lemur".compareTo("uromastyx");
          System.out.println(k);
              
          System.out.print("Comparing \"kangaroo\" with \"tuatara\" produces ");
          int l = "kangaroo".compareTo("tuatara");
          System.out.println(l);
          }
      }

    
ALettertoYourself