Computer Science, asked by crackheadbean01, 5 months ago

Rohan was trying to write a program to calculate area of a circle. However
he noticed that the program was giving an error for the constant for pi value
mentioned as int pi=3.14. What is the problem?

Answers

Answered by mahimshankar13
1

Answer:

How is the value of pi derived?

Here's a brief history of finding π. The ancient Babylonians calculated the area of a circle by taking 3 times the square of its radius, which gave a value of pi = 3. One Babylonian tablet (ca. 1900–1680 BC) indicates a value of 3.125 for π, which is a closer approximation.

Explanation:

Answered by kavitachoudhary88
4

Answer:

apne Javab nahi diya??

Similar questions