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

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach

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