<Tr> <Td> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> </Td> </Tr> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> <P> The election of President and Vice President of the United States is an indirect election in which citizens of the United States who are registered to vote in one of the 50 U.S. states or in Washington, D.C. cast ballots not directly for those offices, but instead for members of the U.S. Electoral College, known as electors . These electors then in turn cast direct votes, known as electoral votes, for President, and for Vice President . The candidate who receives an absolute majority of electoral votes (at least 270 out of a total of 538, since the Twenty - Third Amendment granting voting rights to citizens of Washington, D.C.) is then elected to that office . If no candidate receives an absolute majority of the votes for President, the House of Representatives chooses the winner; if no one receives an absolute majority of the votes for Vice President, then the Senate chooses the winner . </P> <P> The Electoral College and its procedure are established in the U.S. Constitution by Article II, Section 1, Clauses 2 and 4; and the Twelfth Amendment (which replaced Clause 3 after its ratification in 1804). Under Clause 2, each of the states casts as many electoral votes as the total number of its Senators and Representatives in Congress, while, per the Twenty - third Amendment ratified in 1961, Washington, D.C. casts the same number of electoral votes as the least - represented state, which is three . Also under Clause 2, the manner for choosing electors is determined by each state legislature, not directly by the federal government . Many state legislatures previously selected their electors directly, but over time all of them switched to using the popular vote to help determine electors, which persists today . Once chosen, electors generally cast their electoral votes for the candidate who won the plurality in their state, but at least 21 states do not have provisions that specifically address this behavior; those who vote in opposition to the plurality are known as "faithless" or "unpledged electors". In modern times, faithless and unpledged electors have not affected the ultimate outcome of an election, so the results can generally be determined based on the state - by - state popular vote . </P>

Who elects the president and how does it work
find me the text answering this question