#include #include #include "point.h" using namespace std; int main() { point A {0, 3}; //on the Y axis point B {4, 0}; //on the X axis point C; //the origin (calls constructor with no explicit arguments) cout << "Distance from A to B is " << distance(A, B) << "\n"; cout << "Area of triangle ABC is " << area(A, B, C) << "\n"; return EXIT_SUCCESS; }