MAQ Software Interview Question

4.wap to get Nth prime number