text: write a prog to evaluate the following investment equation v=p(1+r)n and print values of p,r & n:? p:1000,2000,....10000 r:0.10,0.11,0.12,....,0.20 n:1,2,3,....10 (hint : p is the principal amount & v is the value of maney at the end of n year this guestion can be recursively written as  v=p(1+r) p=v   & the prog must in c++ for p=1 to 10 for r=10 to 20 for n=1 to 10 v=(p*1000)*(1+(r/100))*n print v,p,r,n next next next