SAIC interview question

code up a random number generator using c++