driver function
public static void main ( String [ ] args ) { double r = 5 ; double result = Math . round ( circumference ( r ) * 1000 ) / 1000.0 ; System . out . println ( " Circumference ▁ = ▁ " + result ) ; } }