Question: solve in c++ program please i need the reall codes so please type the solution here so i can copy and paste it to microsoft

solve in c++ program please
i need the reall codes so please type the solution here so i can copy and paste it to microsoft world  solve in c++ program please i need the reall codes so
please type the solution here so i can copy and paste it

Exercise #3: Calculate the Value of Pi Write a C++ program that calculates an estimate of the value of Pi In mathematics, Pi is approximated by the following formula: Pi 4 4/3 4/5 - 4/7 + 4/9-4/11 +4/13 - 4/15 4/17... The more terms you use, the closer to Pi you get (The above equation shows 9 terms). For example, if you use 5 terms to calculate Pi, your formula would be as follows Pi= 4-4/3 + 4/5-4/7 + 4/9 = 4-1.333333333333 +0.8-0.571428 +0.4444444= 3.33968254. Write a program that prompts the user to enter the number of terms which will be used to calculate Pi. Also, your program should keep asking the user to re-calculate Pl as long as you wish Your program should get as close as it can to Pi- 3.141592653589793

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!