Created
April 28, 2018 20:18
-
-
Save sajjadyousefnia/881cd3834fbe75a900a6f1f0ed2a2f96 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print(calCircumference(24.0)) // used default value for PI and prints 150.79644737231007 | |
print(calCircumference(24.0, 3.14)) // passed value for PI and prints 150.72 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment