Question: Solve the following problem using pseudocode A coffee maker has three options/menus. A= Americano, B= Black coffee, C= Capucinno. The process of producing a cup

Solve the following problem using pseudocode A coffee maker has three options/menus. A= Americano, B= Black coffee, C= Capucinno. The process of producing a cup of coffee is as followed: 1. The machine boiled a water until the temperature reach 100 degree celcius 2. The machine mix the boiling water with a spoon of coffee 3. The machine pour 100ml coffee to the cup 4. The machine pour a fresh milk, 20ml to the cup 5. The cup of coffee is ready - When the user press A button, the machine will create a normal coffee following all the processes (step 1-5). - When the user press B button, the machine will repeat step number 2 three times ( 3 spoons of coffee), and skip step number 4 . - When the user press C button, the machine will repeat step number 4 two times ( 220ml of fresh milk). celcius 2. The machine mix the boiling water with a spoon of coffee 3. The machine pour 100ml coffee to the cup 4. The machine pour a fresh milk, 20ml to the cup 5. The cup of coffee is ready - When the user press A button, the machine will create a normal coffee following all the processes (step 1-5). - When the user press B button, the machine will repeat step number 2 three times ( 3 spoons of coffee), and skip step number 4 . - When the user press C button, the machine will repeat step number 4 two times ( 220ml of fresh milk). Write the pseudocode that explains how the coffee maker machine prepare the menu A and C. Use the iteration in your pseudocode. You are not required to draw any diagram, i.e. FlowChart, Swimlane
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
