Forum: C++ Oct 27th, 2005 |
| Replies: 7 Views: 2,008 this is what i got now. it still takes a long time. like an hour
int n, d=1, n2, d2;
double pie= 3.141592643563118, guess, piguess = 3.15;
int main()
{ |
Forum: C++ Oct 27th, 2005 |
| Replies: 7 Views: 2,008 hi. new here. Im a freshman at UCSB and im taking my first c++ class. I got this assignment in class and i was hoping for some tips.
The value of pi to 15 decimal places is PI = 3.141592653589793... |