Due in OWL, 9:00am, Tuesday February 15, 2005.
Extra credit of 5 points if handed in before 11:59pm, Monday February 14, 2005.
Important notes:
Incomplete Draft Description. Donald Trump. The Apprentice. First season task: sell lemonade. Lemonade stand with lemons and cash. Construct with given amount of cash. Method sellLemonades(int n) sells n cups of lemonade; lemon count goes down by n, cash goes up by 2n. Method buyLemons(int n) buys n lemons; lemon count goes up by n; cash goes down by 0.5n. No error checking (nothing preventing cash from going negative.) Extra credit 5 points: allow price of lemonade to get set in constructor for LemonadeStand().
Incomplete Draft Description. Make a shopping list by appending to the end of a string, also keep count of the number of items on the list. Methods: addItem(String s), items(), numberOfItems(), clearList(). The method addItem should insert a '\n' between each.