In order for a program to work the way that a programmer has intended, the code must be written in a specific order. This is known as

A. formatting

B. logic

C. equation

D. function