@@ -0,0 +1,1539 @@
+/***************************************************************************%0A*                                                                          *%0A*                                                                          *%0A*            Miguel A. Rodriguez     CSC111                                *%0A*            prof Lemmo           4/15/2015                                *%0A*                                                                          *%0A*          This is a sub-class of the Sales driver class. It computes and  *%0A*           returns the commision if the sales person.                     *                                %0A*                                                                          *%0A***************************************************************************/                                                                         %0A%0Aimport java.text.*;%0A%0Apublic class SalesPerson%0A%7B%0A         //Variables%0A   private String name;%0A%09private int id;%0A   private double sales;%0A%09%0A%09private double commisionRate;%0A     %0A%09public SalesPerson(String str0, int str1, double sales1, double commisionR)//constructor%0A%09%7B%0A%09%09name = str0;%0A%09%09id = str1;%0A%09%09sales = sales1;%0A%09   commisionRate = commisionR;%0A%09%7D%0A%0A%09public double commision()%0A%09%7B%0A%09%09return sales * (commisionRate/100);//Computes the commision%0A%09%7D%0A%0A%09public String toString()%0A%09%7B%0A%09%09DecimalFormat fmt2 = new DecimalFormat(%2200000.#%22);%0A%09%09return name + %22%5Ct%5Ct%22 + fmt2.format(id) + %22%5Ct%5Ct%22 + sales + %22%5Ct%5Ct%22 + commisionRate +%22%25%22 + %22%5Ct%5Ct%22+ commision();//returns the values%0A%09%7D%0A%7D%0A

Create SalesPerson.java