Write psuedo code to accomplish making an omelette, in a frying pan on a gas-or-electric stove.
Pseudocode:
The informal language to develop an algorithm used by the programmer is known as pseudocode. This describes the text-based step by step solution to the given problem that is intended for human reading.
The required pseudocode to prepare an omelet is given below:
Step 1: Start
Step 2: Prepare all tools and frying pan
Step 3: Add the water to the eggs in the frying pan
Step 4: Whisk the mixture
Step 5: Put the mixture on the gas-or-electric stove
Step 6: while True
Step 6.1: If the mixture is cooked Then
Step 6.1.1: Stop to heat
Step 6.2: End If
Step 7: Gently scramble the mixture from the frying pan
Step 8: Serve the omelet.
Step 9: Stop
Get Answers For Free
Most questions answered within 1 hours.