Definition
specific method of solving the problem
the problem: It need to be clear. input and output is stated in exact range. specific method: If you do not know how to solve that problem, you can solve it with specific steps.
Example
If you get drink from a vending machine,
- put cash
- select drink
- get drink
This is kind of algorithm. However, it specfic enough for computers.
- get $3 cash from wallet
- find input location
- insert cash into the cending machine
- check how many kinds of drink
- choose drink what you want
- push button for the drink
- pick up the drink.
It can be more specific and detailed. It can be depend on computer languages and what you want to do.