Intel Corporation Interview Question

I had to write a program that calculates lotto