I've tried everything but this program won't run. If I plug in numbers for length, width, and depth it won't tell me the cost to resurface. Any suggestions?
//prb01-1.cpp //This program calculates the total surface area of a pool and the cost to resurface it
#include #include
//using namespace std;
int main() { int depth,length,width,total; int surface; const double PRICE_SQ = 3; //obtain input data
cout<<"\nEnter the length in feet"; cin>>length; cout<<"\nEnter width in feet"; cin>>width; cout<<"\nEnter depth in feet"; cin>>depth;
//Do the calculations surface=2*depth*(length+width)+length*width;
//Display the results cout << "\n length ="<http://www.daniweb.com/techtalkforums/thread13391.html