Carnegie Mellon has salary information for each major. For example, computer science majors: http://www.cmu.edu/career/salaries-and-destinations/2015-sur... have a mean starting salary of $103,608 and median of $105,000. This doesn't include any stock, stock options or bonuses yet. Out of 192 students, 32 joined Google, 19 joined Facebook and 12 joined Microsoft.
The data for MIT is very similar (even same median starting salary of $105,000 for EECS): https://gecd.mit.edu/sites/default/files/about/files/2014-gs...
So if you can just graduate in the top half of your class in at a good CS school you start with a 6 figure salary.