Let's follow the steps of the algorithm one by one to find the final answer.
Step 1: Start with the number 10 .
Step 2: Add 5 to the number. 10 + 5 = 15 .
Step 3: Multiply the result by 2 . 15 × 2 = 30 .
Step 4: Subtract 8 from the result. 30 − 8 = 22 .
Step 5: Write down the final number.
Therefore, the final answer is 22 .