WAP to evaluate the following investment equation (C++)

V=P(1+r)n
and print the tables which would give the value of V for various combinations of the following values of P, r and n:
P: 1000, 2000, 3000, …, 10,000
r: 0.10, 0.11, 0.12, …, 0.19
n:1, 2, 3, …, 10
#include <iostream.h>
#include <math.h>
#include <conio.h>

int main(void)
{clrscr();
unsigned int P=1000, n=1, cell;
float r=0.10;
int i;
cout<<"\n\n";
for (i=1; i<=10; i++)
    {cout<<P<<"\t";
     P=P+1000;
     }
cout<<"\n";
for (i=1; i<=10; i++)
    {cout<<r<<"\t";
    r = r + 0.01;
    }
cout<<"\n";
for (i=1; i<=10; i++)
    {cout<<n<<"\t";
    n++;
    }
//reseting for final loop
P=1000;
r=0.10;
n=1;
cout<<"\n";
for (i=1; i<=10; i++)
    {cell= P*(pow(1+r, n));
    cout<<cell<<"\t";
        P+=1000;
        r+=0.01;
        n++;
    }
return 0;
}
problem 3.4 from E Balagurusamy’s Object Oriented Programming C++ (p 75)