Question
I'm trying to use the distance formula between two points.Basically just by looking at the book, im supposed to find theradius. The program im must include pi. My program cannot executebecause it shows 1 error. Does anybody have access to this evensolution so I can see what i've made wrong when executing myfunctions? It's in the C++ programming fourth editon book on page341 chapter 6 number 6. Please. I know im missing something. Thanks Ya'll! I'm trying to use the distance formula between two points.Basically just by looking at the book, im supposed to find theradius. The program im must include pi. My program cannot executebecause it shows 1 error. Does anybody have access to this evensolution so I can see what i've made wrong when executing myfunctions? It's in the C++ programming fourth editon book on page341 chapter 6 number 6. Please. I know im missing something. Thanks Ya'll!
Explanation / Answer
please rate - thanks #include #include using namespace std; double distance(int, int, int,int); double radius(int,int,int,int ); double circum(double ); double area(double ); int main() {int x1,y1,x2,y2; double rad,diam,circ,areaa; coutx1>>y1; coutx2>>y2; rad=radius(x1,y1,x2,y2); diam=2*rad; circ=circum(rad); areaa=area(rad); cout