Computer Science, asked by mansiraut14398, 11 months ago

what is algorithm explain in detail​

Answers

Answered by Darkgirl52
0

Answer:

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

Answered by karunapandey
0

Answer:

An Algorithm is the sequence of steps to perform a task.

Explanation:

Algorithm is a logical flow of the steps involved to perform a task.

Consider you want to create a sandwich. The steps required to perform this task, explained in plain english so that any user can understand is called an Algorithm.  In four steps you can create this sandwich.

Step 1: Lay 2 slices of bread on a plate

STep 2: Apply butter on both slices

Step 3: Place the veggies on one slice

Step 4: Place the other bread over the veggies.

So in 4 steps we have the algorithm of preparing a sandwich.

Similar questions
Science, 1 year ago