<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="serif">I know that some of you want to get started on
      Assignment 3.&nbsp; I have now placed a PDF format of the assignment on
      the class website as well as the Dice.jar file and the API for the
      Dice class.&nbsp;&nbsp; The following Example program demonstrates how you
      should call these static methods in the Dice.jar file.&nbsp; <br>
      <br>
      <a class="moz-txt-link-freetext" href="http://theochem.mercer.edu/csc204">http://theochem.mercer.edu/csc204</a><br>
      <br>
      <br>
      public class Example{<br>
      <br>
      &nbsp;&nbsp;&nbsp; public static void main(String args[]){<br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String roll, orderedRoll;<br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; roll = Dice.roll();<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; orderedRoll = Dice.order(roll);<br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println( roll );<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println( orderedRoll );<br>
      <br>
      &nbsp;&nbsp;&nbsp; }<br>
      }<br>
      <br>
      <br>
      I ran this twice to produce the following output....<br>
      <br>
      15324<br>
      12345<br>
      <br>
      <br>
      21114<br>
      11124<br>
      <br>
      <br>
      <br>
    </font>
    <pre class="moz-signature" cols="72">-- 
Andrew J. Pounds, Ph.D.  (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
<a class="moz-txt-link-freetext" href="http://faculty.mercer.edu/pounds_aj">http://faculty.mercer.edu/pounds_aj</a>
</pre>
  </body>
</html>