“I like to drink a beverage every morning. This might be a cup of coffee or tea.
ID: 3772011 • Letter: #
Question
“I like to drink a beverage every morning. This might be a cup of coffee or tea. If it is coffee, I like to choose (based on wake up time) b/w espresso (short or long) or latte with one or two shots of espresso, no foam, and extra hot. If it is tea, I like to have either green or black tea; the latter can be with lemon or with half and half and sugar, depending of the kind of tea. I have a large collection of coffee and tea capsules and my beverage machine could be programmed (in Java) to make a drink at the specified time.
-I would like to have a program which will allow me to set up at evening my coming morning drink.
-Sometimes, I order my beverage from my neighborhood coffee shop specifying a pick up time .”
1 Open-ended "Coffee Project": putting all together Specifications Design specs Interactive: ask for options using Ul (keyboard/Scanner or speech recognition )) and print out (screen) the choice Store data in files (read from; write to ....) Modular: use several classes and various methods (x2 points) Use test cases (aka have a driver / main) - Implementation specs - Define preconditions and postconditions ' Handle exceptions - Use default values for your variables " Use arrays (many kinds of coffee, tea, milk, ...) for your data Comment and DocumentExplanation / Answer
program:
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.