answersLogoWhite

0


Best Answer

solution for nth decimal place in pi value

----------------------------------------------------------------

int i=1,rem = 22%7,result=22/7;

while(i<=n)

{

rem = rem*10;

result = rem/7;

rem = rem%7;

i++;

}

printf("nth decimal%d",result);

input: 15(means 15th decimal place in pi value)...

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: 3 What is the value or Pie to the 100th decimal place?
Write your answer...
Submit
Still have questions?
magnify glass
imp