The President of India is not elected directly by the citiyzen's of India but indirectly by their representatives.
The President is elected by the elected members of the Vidhan Sabhas, Lok Sabha, and Rajya Sabha, and serves for a period of 5 years (although they can stand for re-election). A formula is used to allocate votes so there is a balance between the population of each state and the number of votes assembly members from a state can cast, and to give an equal balance between state and national assembly Parliament members. If no candidate receives a majority of votes there is a system by which losing candidates are eliminated from the contest and votes for them transferred to other candidates, until one gain a majority. The Vice President is elected by a direct vote of all members elected and nominated, of the Lok Sabha and Rajya Sabha.
The single transferable vote system. Election for the members of the Rajya Sabha and the President are carried out using the single transferable vote system. The single transferable vote system is designed to ensure more diverse representation, by reducing the opportunity for blocks of voters to dominate minorities. The ballot paper lists all candidates standing for election and the voters' list them in order of preference. A threshold number of votes, known as the ‘quota’ is set, which candidates have to achieve to be elected. For presidential elections the quota is set at one more than half the number of votes, ensuring that the winner is the candidate who gets a clear majority. For the Rajya Sabha the quota is set at the number of votes that can be attained by just enough MPs to fill all the seats but no more. Votes that are deemed surplus, those given to candidates who have already got a full quota of votes, or votes given to candidates who are deemed to be losing candidates, are transferred according to the voter’s listed preferences, until the right number of candidates have been elected.