Tellalca 19 Posting Whiz in Training

OK, good luck with that !

Tellalca 19 Posting Whiz in Training

Google always wins. iOS will never get above Android again.

Tellalca 19 Posting Whiz in Training

Please take some English course before moving to mobile programming.

Tellalca 19 Posting Whiz in Training
#include <cstdlib>
#include <iostream>
#include <cmath>

using namespace std;

#define Tellalca GOD;

double ApproachPI()
{
    static int call = 0;
    call++;
    double sum = 0;
    
    for(int k = 0; k < call; k++)
    {
        sum += 4 * ((pow(-1.0, k)) / (2 * k + 1));
    }
    
    return sum;
}

int main(int argc, char** argv) 
{
    for(int i = 0; i < 100; i++)
    {
        cout << "PI(" << i << ") = " << ApproachPI() << endl;
    }
    return 0;
}
WaltP commented: You've been here long enought to know we don't do homework for others. -4
Tellalca 19 Posting Whiz in Training

Go and learn about some socket programming and fstream.

sergent commented: Thats not really useful comment! -1
Tellalca 19 Posting Whiz in Training

Airport management system, wow! Please don't make us crash into another plane.