Computer Science, asked by cgupta1533, 1 month ago

What is an Algorithm? Explain with an example. ​

Answers

Answered by BrainIyKohinoor
1

Answer:

An algorithm is a step procedure to solve logical and mathematical problems. A recipe is a good example of an algorithm because it says what must be done, step by step. It takes inputs (ingredients) and produces an output (the completed dish).

EXAMPLE

One of the most obvious examples of an algorithm is a recipe. It's a finite list of instructions used to perform a task. For example, if you were to follow the algorithm to create brownies from a box mix, you would follow the three to five step process written on the back of the box.

Answered by avantikay1312
1

Explanation:

An algorithm is a step procedure to solve logical and mathematical problems. A recipe is a good example of an algorithm because it says what must be done, step by step. It takes inputs (ingredients) and produces an output (the completed dish).

Hope it well help you

Similar questions