----------------------------------- Acme Software Invoice Customer Name: Trinity College Software Title: Chess for Beginners Aount due: $99.00 -----------------------------------
Code the initial comment block (purpose of your program, your name, lab section, etc) and the basic class definition.
Code the declarations for the class's instance variables as well as the constructor method.
Add code to the main method to create and use one Invoice object.
Add code to the main method to create and use a second Invoiceobject.
The Acme Software Company's product line has expanded to the point where it is no longer feasible to charge $99 for every software title. Modify the Invoice class to keep track of the price of the software title. This will require an additional instance variable and additional mutator and accessor methods. Modify the print() method to reflect this change. For example, after this modification, the following invoice should be possible:
----------------------------------- Acme Software Invoice Customer Name: Trinity College Software Title: Chess for Experts Aount due: $198.00 -----------------------------------
Have your work checked by the lab instructor before you leave the lab. Make sure to include your name and the lab section in files.
Hand in your file: Invoice.java.