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

State above show the process of Edit Recipe. The process involved:

  1. User choose to edit recipe
  2. System get the recipe name
  3. User select the number of recipe to edit
  4. If recipe to edit not equal to null, system will get the price, get amount of coffee, get amount of milk, get amount of sugar and get amount of chocolate from user to edit. All input must be positive value. Then, the system will edit the recipe and recipe is successfully edited. Else, system fail to edit recipe.
  5. System terminate