Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 253 Bytes

File metadata and controls

2 lines (2 loc) · 253 Bytes

Approximate-PI-App---Java

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'.