=#include
include
include
using namespace std;
int main()
{
double m, s; int n; s = 0; m = 0;
for (n = 1; (1 / n) > 1E-7; n = n + 2)
{s = s + pow(-1, m) / n;
m++;
}
cout << “π=” <
=#include
using namespace std;
int main()
{
double m, s; int n; s = 0; m = 0;
for (n = 1; (1 / n) > 1E-7; n = n + 2)
{s = s + pow(-1, m) / n;
m++;
}
cout << “π=” <