// Exercise 3
//
// 1. Building on Exercise 2, implement the following methods:
//
// age() - returns the age of the car.
// setYear()
// getYear()
// setMake()
// getMake()
// setModel()
// getModel()
// setColor()
// getColor()
// Include validity checking for setYear().

// 2. Modify the constructor you have written so that the mileage is
//    passed in as a parameter and recorded as an attribute.

// 3.  Add accessors for the new mileage.  For validity, ensure that the
//     mileage for a car can never be decreased.


// Exercise 3
//
// 1. Building on Exercise 2, implement the
// following methods:
//
// setYear()
// getYear()
// setMake()
// getMake()
// setModel()
// getModel()
// setColor()
// getColor()
// Include validity checking for setYear().

// 2. Modify the constructor you have written so
// that the mileage is passed in as a parameter
// and recorded as an attribute.

// 3.  Add accessors for the new mileage.  For
// validity, ensure that the mileage for a car
// can never be decreased.

// 4. The database backing our list of cars only
// recognizes seven colors, plus none.
//
// Make sure that when a car color is set, it is
// in the list: red, orange, black, green, blue,
// purple, and white.  "None" is also allowed and
// should be the default.
//
// Modify the constructor so that if you pass it
// an unrecognized color, it stores the string
// "none" instead. If a programmer passes an
// unrecognized color to the accessor function,
// you should write a message to the console and
// make no change to the object.

Add one more exercise, clean up the format
Add one more exercise, clean up the format
