You're also not counting that it's not so simple. Lotteries are a 1 in millions chance of winning a prize, and a millions out of millions chance of nothing. Developing an iPhone app is a 1-2% chance at millions, but also a chance at hundreds of thousands, a chance at thousands, or even a chance at getting like 100 bucks out of the deal and having some fun at it.