CIS 180: Object-Oriented Programming
Programming Project #2

The Invoice Class

Due by October 14, 2003

Objectives

The objectives of this lab are:

Problem Statement

An Invoice object maintains information about the purchase of some software and is capable of printing an invoice of a customer's purchases from the Acme Software Company. Design and implement an Invoice class. Here are some additional specifications:
-----------------------------------
Acme Software Invoice
Customer Name: UMass Dartmouth
Software Title: Checker for Experts
Aount due: $98.00
-----------------------------------

Problem Decomposition

This problem can be divided into one class, the Invoice class, which will contain the instance variables and methods described above. Include a main() method in the class so that you can create Invoice objects that can be used to test your set() and get() methods.

Design

Implementation (Stepwise Refinement)

What to turn in

When your assignment is complete, add some comments to the beginning of the java source code explaining any problems you encountered in completing the assignment and describing any bugs in your solution. Undocumented bugs are worse than documented bugs. If you have undocumented bugs we will assume that you did an inadequate job of testing your code, and you will lose additional points.

To submit your homework, follow the link from the homework page to the homework submission form.

There will be a 10% penalty for assignments received after the due date. Assignments will not be accepted more than one week past the due date.

You're done. Great work!