Do you need this or any other assignment done for you from scratch?
We have qualified writers to help you.
We assure you a quality paper that is 100% free from plagiarism and AI.
You can choose either format of your choice ( Apa, Mla, Havard, Chicago, or any other)
NB: We do not resell your papers. Upon ordering, we do an original paper exclusively for you.
NB: All your data is kept safe from the public.
Program Name: Coffee Maker Functions
Code for Coffee Maker Functions:
Apply PresetTime to begin brewing while the coffee maker is OFF
IF want to set CoffeeMakerTime
Press ON x 2
Apply input HH:MM
Press ON
Display Set Time
ELSE
Do nothing
IF Coffee and Water are present
DO
Boil Water
Mix Water and Coffee
ELSE
Add Coffee and Water
IF Temperature is too high
Turn OFF the heating function
WHILE water and coffee are present, and machine is ON
IF it is out of water
Stops brewing coffee
ELSE
Turn off when complete
Reflection
The pseudocode was constructed based on logic and estimation of the regular functions of the coffee maker. Aside from the basic preparation process of a cup of coffee, the program would need to operate with several other variables. Firstly, the machine would need to be able to distinguish whether it is ON or OFF. Secondly, a variable that specifies the period of operation would be required. Therefore, the machine would need to be able to determine the current time and set additional time brackets considering the current time. Thirdly, the program needs a variable that monitors and assesses the quantities of water and coffee present. It should be able to indicate whether the existing supplies are sufficient to make coffee. If not, they should turn the machine off to avoid damaging the tool.
To perform its duties correctly, the program should allow for multiple functions to operate. A variable that would allow to update and display the current time is required for the coffee maker, since it would aid in setting the preferred making time. The differentiation between OFF and ON is carried out by the main code. The use of the pseudocode is an effective method in outlining the main presumed operations for the coffee maker. It allows a user to go through every step and every diverging point to understand the structure of the code and the functionality it would entail.
Do you need this or any other assignment done for you from scratch?
We have qualified writers to help you.
We assure you a quality paper that is 100% free from plagiarism and AI.
You can choose either format of your choice ( Apa, Mla, Havard, Chicago, or any other)
NB: We do not resell your papers. Upon ordering, we do an original paper exclusively for you.
NB: All your data is kept safe from the public.