Menu BAR

FEEL FREE TO ASK ANY PROGRAM and please mention any error if you find it

30 Dec 2023

What is an Algorithm?

An algroithm definition is as simple as a set of step-by-step procedures or a list of rules to follow for completing a specific task or solving a particular problem.

Example of an algorithm for baking a cake ->

1) Gather all the ingredients
2) Pre-heat the oven
3) Measure out the ingredients
4) Mix together to make the batter
5) Put the butter into the pan
6) Pour the batter into the pan
7) Put the pan in the oven
8) Set a timer
9) When the timer goes off, take the pan out of the over
10) Eat the cat and ENJOY!

No comments:

Post a Comment