Wonder what would happen if neither Trump nor Clinton gets 270 or more electoral votes? This is possible, though unlikely. Remember there are 2 minor party candidates running.
The quick answer is the US House of Representatives decides the president if this happens. And the Republicans control the House.