#include<iostream>
#include<iomanip>
#include<cmath>
usingnamespace std;
int main()
{
double depth = 5;
double length = 10;
double width = 10;
double perimeter = ((2*width) + (2*length));
double sa = ((2*(length*depth)) + (2*(width*depth)) + (length*width));
cout<<"This program will calculate the perimeter and surface area of a pool"<<endl;
cout<<"The depth of the pool is constant at 5 feet"<<endl<<endl;
cout<< "Length Width Perimeter Surface Area\n";
cout<< "------ ----- --------- ------------\n";
for (length = 10; length <=12; length +=1)
for (width = 10; width <= 20; width +=5)
cout<<fixed<<setprecision(2)<<setw(7)<<length<<setw(6)<<width
<<setw(10)<<perimeter<<setw(13)<<sa<<endl;
cout<<endl<<"Thank you for using this program"<<endl;
system("Pause");
return 0;
}