You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code uses two methods, one being the main method. The second method 'guessPi' takes an int variable 'iterations' that follows the Wallis PI formula that is called n the main method and returns a double called 'result'.
About
This code uses two methods, one being the main method. The second method 'guessPi' takes an int variable 'iterations' that follows the Wallis PI formula that is called n the main method and returns a double called 'result'.