which of the following explains why gives directions to a location for creating an algorithm

A.An algorithm provides step-by-step instructions

B.An algorithm is written in a computer code

C. An algorithm gives different steps each time it is used

D.An algorithm posts directions on a website.​