How are the governments in Brazil and the United States similar?

A: Voting is required by law.
B: A president heads the executive branch.
C: Each political party selects a presidential candidate before the election.
D: The judicial branch appoints members to the legislature

B: A president heads the executive branch.