To improve readability and maintainability, you should declare a constant for pi instead of using literal values such as 3.14159.
We can describe constants as values that are invariant quantities. These values are backed by effective researched and hence are used as a basis when solving equations or proposing new theories.
Physical constants are standard values and remain the same. For example, the value of pi is constant i.e 3.14159. In an equation or when solving mathematical equations, the value of pi will always remain the same.
While reading, such values are declared as constant simply rather than speaking the numerical value. The constants are used in almost every physical theory and serve as a basis for proving other theories right or wrong.
To learn more about pi, click here:
https://brainly.com/question/12452782
#SPJ4