I have to compute the area of a triangle. This is the code I am using.
I am getting the error: `p' cannot be used as a function. My main is working, and I'm 99% sure that i don't have a semi colon or bracket issue, so im not putting things like namespace std in etc.
i have #include <math> and #include <cmath> at the beginning of my program.
double a, b, c, p, t;
cout<<"\nEnter the side lengths of the triable";
cout<<"The area is:\n";
cout<<"\nDo you want to re-run this utility? (Y/N)\n";