calculate the value of pi from in finite series
pi=4-(4/3)+(4/5)-(4/7)+(4/9)-(4/11)....
print a table that shows the approximate value of pi 1,000 terms series
72246
0
Newbie Poster
Recommended Answers
Jump to PostWell i think that you should post your code until where you have worked on.
Jump to PostHow the value of PI can be printed as a table?
That's a difficult one:
#include <iostream> int main() { std::cout << "|value of PI:|\n|------------|\n| 3.14 |\n|------------|\n"; return 0; }
All 8 Replies
Sky Diploma
571
Practically a Posting Shark
Salem
commented:
*agrees*
+26
kbshibukumar
1
Junior Poster in Training
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
Salem
commented:
I like my pies on the table ;)
+26
Sky Diploma
571
Practically a Posting Shark
ddanbe
2,724
Professional Procrastinator
Featured Poster
StuXYZ
731
Practically a Master Poster

iamthwee
StuXYZ
commented:
thanks for correcting my mistake
+3
StuXYZ
731
Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.