Write a program that prints instructions to get coffee, asking the user for input whenever a decision

Question:

Write a program that prints instructions to get coffee, asking the user for input whenever a decision needs to be made. Decompose each task into a method, for example:

public static void brewCoffee()
{
System.out.println(“Add water to the coffee maker.”);
System.out.println(“Put a filter in the coffee maker.”);
grindCoffee();
System.out.println(“Put the coffee in the filter.”);
. . .
}

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: