Create math constants

Report a typo

Implement the object called Math with constants pi, e (Pi number and Euler's number) with an accuracy of 2 digits after the decimal point.

Sample Input 1:

Sample Output 1:

3.14
2.71
Write a program in Scala 3
object Math:
// your code
___

Create a free account to access the full topic