First Group Inventory Exercise

Group of two with each of you choosing an items you might want to collect. Each person creates one item class. A master programmer creates one program that asks the user for the information needed for two of each item. Then the master program prints out the item with the lowest average cost and highest average quantity. (This group project requires using Scanner for the main method to ask the user to enter information. )

Step 1:

Each person create their own item class. It must contain cost, name, quantity, and at least 2 other fields you choose. Code just constructor, toString and getCost and getQuantity methods. The constructor should insist on positive cost and quantity.

Remember good comments and look at your javadoc. Comment class author and purpose and give your partner's name, method purpose and parameters and return at a minimum.

Get the code onto one machine using email (recommend attaching) or google docs or create a discussion thread.

Step2 :

Master creates one new class using pair programming (looking over the shoulder). Use google hangout (your email / apps / g+ / video hangout / then screenshare or remote control) or amyee.com (http://www.ammyy.com/en/) or Adobe connect, reached through moodle's online office to share screens if you are not in the same location.