Write a C++ program that uses the area() function to determine the area of triangles, squares, and circles?