Write a literal corresponding to the value of the first 6 digits of PI (“three point one four one five nine”).

Language: Java

Challenge:

Write a literal corresponding to the value of the first 6 digits of PI (“three point one four one five nine”).

 

SOLUTION:

Language: Java

Challenge:

Write a literal corresponding to the value of the first 6 digits of PI (“three point one four one five nine”).

 Solution:

3.14159