Add Recipe (Process View Control Flow Chart) - smashita/CoffeeMaker-2019 GitHub Wiki

Steps involved in Add a Recipe:

  1. User enters name of the recipe. If the name is already exist, the new recipe will be failed to add.
  2. If name isn't exist yet, user will have to enter price, amount of coffee, amount of milk, amount of sugar, and amount of chocolate. All must be in positive value (int). If user entered the wrong format of value, the recipe will be failed to add into the recipeBook.