The president is commander-in-chief of the United States military. The president's activities relate to which branch of government?

A

judicial

B

executive

C

legislative

D

corporate