Write a program that prints instructions to get coffee, asking the user for
Chapter 5, Problem P5.26(choose chapter or problem)
Write a program that prints instructions to get coffee, asking the user for inputwhenever a decision needs to be made. Decompose each task into a function, forexample:void brew_coffee(){ cout << "Add water to the coffee maker." << endl; cout << "Put a filter in the coffee maker." << endl; grind_coffee(); cout << "Put the coffee in the filter." << endl; ...}
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer