@@ -0,0 +1,1393 @@
+package level2;%0A%0A/**%0A * This class is used to create a compound with a type and formula. (Hours spent: 1)%0A * %0A * @author Isis So%0A * @version 1.0 May 23, 2014 %0A * @version 2.0 May 30, 2014 No changes%0A * @version 3.0 June 6, 2014 Removed getRandomCompound method%0A * @version 4.0 June 12, 2014 No changed%0A */%0Apublic class Compound%0A%7B%0A  /**%0A   * compoundType  String     This private String variable is used to store the compound type (ionic or molecular) of the compound.%0A   */%0A  private String compoundType;%0A  %0A  /**%0A   * formula       String     This private String variable is used to store the chemical formula of the compound.%0A   */ %0A  private String formula;%0A  %0A  /**%0A   * This constructor is used to create a new compound with a compound type and formula.%0A   * @param c This String variable is the passed in compound type.%0A   * @param f This String variable is the passed in formula.%0A   */ %0A  public Compound(String c, String f)%7B%0A    compoundType = c;%0A    formula = f;%0A  %7D%0A  %0A  /**%0A   * The getCompoundType() method returns the compound type of the compound.%0A   * @return  String  The type of compound is returned.%0A   */ %0A  public String getCompoundType()%7B%0A    return compoundType;%0A  %7D%0A  %0A  /**%0A   * This getFormula() method returns the formula of the compound.%0A   * @return   String  The formula for the compound is returned.%0A   */ %0A  public String getFormula()%7B%0A    return formula;%0A  %7D%0A%7D%0A

Create Compound.java