Pergunta de entrevista da empresa YMedia

Write a program to find the nth digit after the decimal point in pi