Intel Corporation Interview Question

A prime number generating program