In order to become president of the United States, the candidate must win a majority of the votes in the electoral college. Each state has a certain number of electoral votes. How is it decided how many electoral votes a state gets? A. It is based on how the state voted in the last election. B. It is based on how much the state pays in taxes. C. It is based on the state's representation in Congress. D. It is based on where the state is located.