answersLogoWhite

0

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

16y ago

Still curious? Ask our experts.

Chat with our AI personalities

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga

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