Algorithms





“
“
A step-by-step procedure for solving a problem is called Algorithms.”
Coding algorithms are especially useful because they can solve big problems much more quickly than humans can. In fact, certain problems that are too complex to solve mathematically can be solved with algorithms.
Let’s see how we can write algorithms to solve a given problems-
Step 1: Start
Step 3: Read values for num1, num2.
Step
To run this script press the button ‘A’ in the microbit and it will show the correct sequence of numbers in Scratch.