-2
I tried to make a program to calculate pi just for fun (c++ by the way). But for some reason it won't work. Also how do I make the code repeat itself?
#include <iostream>
#include <cmath>
using namespace std;
{
int A = 1
int B = A + 2
int eq = 4 / A
int eq2 = 4 / B
int C = B + 2
int eq3 = 4 / C...